Option 1 for shadcn/ui

Option 1 is a shadcn/ui theme built around a muted light blue primary color (#d3d9e4) with muted light blue accents (#e3e5e8). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light blue primary (#d3d9e4) on a blue-tinted background (#040910).

Color palette

TokenLightDark
Background
#ffffffwhite
#040910black
Foreground
#010204black
#fcfcfdwhite
Card
#fcfcfcsnow
#050b14black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#040910black
Popover foreground
#010204black
#fcfcfdwhite
Primary
#d3d9e4gainsboro
#d3d9e4gainsboro
Primary foreground
#333f52darkslategray
#333f52darkslategray
Secondary
#e3e5e8gainsboro
#19191ablack
Secondary foreground
#454b54darkslategray
#b1b2b4darkgray
Muted
#e6e9f0lavender
#0f131ablack
Muted foreground
#464d58darkslategray
#a7aeb9darkgray
Accent
#e3e5e8gainsboro
#19191ablack
Accent foreground
#454b54darkslategray
#b1b2b4darkgray
Destructive
#9a210efirebrick
#ed5740tomato
Destructive foreground
#fce2demistyrose
#000000black
Border
#eff0f0whitesmoke
#252628darkslategray
Input
#eff0f0whitesmoke
#252628darkslategray
Ring
#d3d9e4gainsboro
#d3d9e4gainsboro

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.75:1AAA
Text on card20.54:1AAA
Primary button7.52:1AAA
Secondary button6.96:1AA
Muted text7.02:1AAA
Accent6.96:1AA
Destructive6.57:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.72:1AAA
Primary button7.52:1AAA
Secondary button8.25:1AAA
Muted text8.31:1AAA
Accent8.25:1AAA
Destructive6.03:1AA

CSS variables

Paste this into your globals.css to use Option 1 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.084 0.014 248.86);
  --muted: oklch(0.934 0.009 259.943);
  --muted-foreground: oklch(0.418 0.02 259.922);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.084 0.014 248.86);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.954 0.001 259.935);
  --input: oklch(0.954 0.001 259.935);
  --primary: oklch(0.885 0.015 259.946);
  --primary-foreground: oklch(0.364 0.036 259.798);
  --secondary: oklch(0.921 0.005 259.939);
  --secondary-foreground: oklch(0.41 0.018 259.928);
  --accent: oklch(0.921 0.005 259.939);
  --accent-foreground: oklch(0.41 0.018 259.928);
  --destructive: oklch(0.449 0.16 31.607);
  --destructive-foreground: oklch(0.933 0.029 28.119);
  --ring: oklch(0.885 0.015 259.946);
  --chart-1: oklch(0.885 0.015 259.946);
  --chart-2: oklch(0.921 0.005 259.939);
  --chart-3: oklch(0.921 0.005 259.939);
  --chart-4: oklch(0.945 0.003 259.938);
  --chart-5: oklch(0.884 0.018 259.946);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.02 254.001);
  --foreground: oklch(0.992 0.001 259.935);
  --muted: oklch(0.187 0.014 259.861);
  --muted-foreground: oklch(0.749 0.017 259.945);
  --popover: oklch(0.137 0.02 254.001);
  --popover-foreground: oklch(0.992 0.001 259.935);
  --card: oklch(0.148 0.023 256.61);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.268 0.004 259.945);
  --input: oklch(0.268 0.004 259.945);
  --primary: oklch(0.885 0.015 259.946);
  --primary-foreground: oklch(0.364 0.036 259.798);
  --secondary: oklch(0.215 0.001 259.941);
  --secondary-foreground: oklch(0.764 0.003 259.938);
  --accent: oklch(0.215 0.001 259.941);
  --accent-foreground: oklch(0.764 0.003 259.938);
  --destructive: oklch(0.653 0.19 31.332);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.885 0.015 259.946);
  --chart-1: oklch(0.885 0.015 259.946);
  --chart-2: oklch(0.215 0.001 259.941);
  --chart-3: oklch(0.215 0.001 259.941);
  --chart-4: oklch(0.248 0.002 259.941);
  --chart-5: oklch(0.884 0.018 259.946);
}