light blue / dark for shadcn/ui

light blue / dark is a shadcn/ui theme built around a light cyan primary color (#c4dbe3) with neutral gray accents (#d7dadb). The light mode uses a neutral background (#ffffff). Dark mode keeps the light cyan primary (#c4dbe3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010304black
#f8fbfbghostwhite
Card
#ffffffwhite
#000000black
Card foreground
#010304black
#f8fbfbghostwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#010304black
#f8fbfbghostwhite
Primary
#c4dbe3powderblue
#c4dbe3powderblue
Primary foreground
#264550darkslategray
#264550darkslategray
Secondary
#d7dadbgainsboro
#262a2bdarkslategray
Secondary foreground
#3d4143darkslategray
#bec4c5silver
Muted
#edf5f7whitesmoke
#080f12black
Muted foreground
#485256darkslategray
#a9b3b7darkgray
Accent
#d7dadbgainsboro
#262a2bdarkslategray
Accent foreground
#3d4143darkslategray
#bec4c5silver
Destructive
#612005maroon
#f56224chocolate
Destructive foreground
#fab99elightpink
#000000black
Border
#eef1f2whitesmoke
#1f2628darkslategray
Input
#eef1f2whitesmoke
#1f2628darkslategray
Ring
#c4dbe3powderblue
#c4dbe3powderblue

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button7.11:1AAA
Secondary button7.31:1AAA
Muted text7.24:1AAA
Accent7.31:1AAA
Destructive7.24:1AAA
Dark mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button7.11:1AAA
Secondary button8.20:1AAA
Muted text9.03:1AAA
Accent8.20:1AAA
Destructive6.66:1AA

CSS variables

Paste this into your globals.css to use light blue / dark in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.095 0.013 214.933);
  --muted: oklch(0.964 0.008 221.381);
  --muted-foreground: oklch(0.432 0.015 221.662);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.095 0.013 214.933);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.095 0.013 214.933);
  --border: oklch(0.955 0.003 221.333);
  --input: oklch(0.955 0.003 221.333);
  --primary: oklch(0.877 0.027 221.622);
  --primary-foreground: oklch(0.369 0.041 223.464);
  --secondary: oklch(0.885 0.003 221.337);
  --secondary-foreground: oklch(0.372 0.007 221.48);
  --accent: oklch(0.885 0.003 221.337);
  --accent-foreground: oklch(0.372 0.007 221.48);
  --destructive: oklch(0.342 0.101 40.351);
  --destructive-foreground: oklch(0.84 0.085 44.206);
  --ring: oklch(0.877 0.027 221.622);
  --chart-1: oklch(0.877 0.027 221.622);
  --chart-2: oklch(0.885 0.003 221.337);
  --chart-3: oklch(0.885 0.003 221.337);
  --chart-4: oklch(0.909 0.003 221.33);
  --chart-5: oklch(0.878 0.029 221.654);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.003 221.328);
  --muted: oklch(0.162 0.012 221.967);
  --muted-foreground: oklch(0.761 0.013 221.463);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.003 221.328);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.985 0.003 221.328);
  --border: oklch(0.262 0.01 221.718);
  --input: oklch(0.262 0.01 221.718);
  --primary: oklch(0.877 0.027 221.622);
  --primary-foreground: oklch(0.369 0.041 223.464);
  --secondary: oklch(0.282 0.006 221.497);
  --secondary-foreground: oklch(0.815 0.007 221.376);
  --accent: oklch(0.282 0.006 221.497);
  --accent-foreground: oklch(0.815 0.007 221.376);
  --destructive: oklch(0.677 0.193 40.564);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.877 0.027 221.622);
  --chart-1: oklch(0.877 0.027 221.622);
  --chart-2: oklch(0.282 0.006 221.497);
  --chart-3: oklch(0.282 0.006 221.497);
  --chart-4: oklch(0.313 0.007 221.506);
  --chart-5: oklch(0.878 0.029 221.654);
}