Midnight Dreams Lemurb blue for shadcn/ui

Midnight Dreams Lemurb blue is a shadcn/ui theme built around a vivid deep cyan primary color (#04222f) with vivid deep orange accents (#2f1104). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#04222f) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#ffffffwhite
#020608black
Foreground
#010304black
#f5f8fawhitesmoke
Card
#fcfcfcsnow
#03090cblack
Card foreground
#000000black
#f8fbfcghostwhite
Popover
#fcfcfcsnow
#03090cblack
Popover foreground
#000000black
#f8fbfcghostwhite
Primary
#04222fblack
#04222fblack
Primary foreground
#12a8eddodgerblue
#12a8eddodgerblue
Secondary
#2f1104black
#2f1104black
Secondary foreground
#f49a71darksalmon
#f49a71darksalmon
Muted
#e7d4cblightgrey
#342118black
Muted foreground
#575352dimgray
#adaaa8darkgray
Accent
#2f1104black
#2f1104black
Accent foreground
#f49a71darksalmon
#f49a71darksalmon
Destructive
#d91908red
#f84a3atomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eef0f2whitesmoke
#161b1dblack
Input
#eef0f2whitesmoke
#161b1dblack
Ring
#04222fblack
#04222fblack

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.54:1AAA
Primary button6.18:1AA
Secondary button8.03:1AAA
Muted text5.29:1AA
Accent8.03:1AAA
Destructive5.14:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.24:1AAA
Primary button6.18:1AA
Secondary button8.03:1AAA
Muted text6.59:1AA
Accent8.03:1AAA
Destructive3.48:1AA Large

CSS variables

Paste this into your globals.css to use Midnight Dreams Lemurb blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.093 0.009 221.2);
  --muted: oklch(0.882 0.024 46.566);
  --muted-foreground: oklch(0.446 0.005 46.726);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.955 0.003 226.9);
  --input: oklch(0.955 0.003 226.9);
  --primary: oklch(0.236 0.044 232.465);
  --primary-foreground: oklch(0.693 0.15 237.621);
  --secondary: oklch(0.223 0.055 45.375);
  --secondary-foreground: oklch(0.77 0.122 45.334);
  --accent: oklch(0.223 0.055 45.375);
  --accent-foreground: oklch(0.77 0.122 45.334);
  --destructive: oklch(0.562 0.221 30.053);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.236 0.044 232.465);
  --chart-1: oklch(0.236 0.044 232.465);
  --chart-2: oklch(0.223 0.055 45.375);
  --chart-3: oklch(0.223 0.055 45.375);
  --chart-4: oklch(0.26 0.067 43.665);
  --chart-5: oklch(0.237 0.045 232.625);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.012 221.018);
  --foreground: oklch(0.978 0.005 226.915);
  --muted: oklch(0.27 0.033 45.73);
  --muted-foreground: oklch(0.74 0.005 46.786);
  --popover: oklch(0.134 0.014 221.804);
  --popover-foreground: oklch(0.985 0.003 226.895);
  --card: oklch(0.134 0.014 221.804);
  --card-foreground: oklch(0.985 0.003 226.895);
  --border: oklch(0.217 0.008 227.368);
  --input: oklch(0.217 0.008 227.368);
  --primary: oklch(0.236 0.044 232.465);
  --primary-foreground: oklch(0.693 0.15 237.621);
  --secondary: oklch(0.223 0.055 45.375);
  --secondary-foreground: oklch(0.77 0.122 45.334);
  --accent: oklch(0.223 0.055 45.375);
  --accent-foreground: oklch(0.77 0.122 45.334);
  --destructive: oklch(0.656 0.213 29.263);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.236 0.044 232.465);
  --chart-1: oklch(0.236 0.044 232.465);
  --chart-2: oklch(0.223 0.055 45.375);
  --chart-3: oklch(0.223 0.055 45.375);
  --chart-4: oklch(0.26 0.067 43.665);
  --chart-5: oklch(0.237 0.045 232.625);
}