SynthWave '84 Blues for shadcn/ui

SynthWave '84 Blues is a shadcn/ui theme built around a neutral gray primary color (#ccd0d1) with vivid deep blue accents (#005580). The light mode uses a blue-tinted background (#002233). Dark mode keeps the neutral gray primary (#ccd0d1) on a blue-tinted background (#002233).

Color palette

TokenLightDark
Background
#002233black
#002233black
Foreground
#bababasilver
#bababasilver
Card
#001b29black
#001b29black
Card foreground
#c7c7c7silver
#c7c7c7silver
Popover
#001824black
#001824black
Popover foreground
#d4d4d4lightgrey
#d4d4d4lightgrey
Primary
#ccd0d1lightgrey
#ccd0d1lightgrey
Primary foreground
#323739darkslategray
#323739darkslategray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#22282bdarkslategray
#22282bdarkslategray
Muted foreground
#9ba9b0darkgray
#9ba9b0darkgray
Accent
#005580teal
#005580teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#eb3528crimson
#eb3528crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#043249midnightblue
#043249midnightblue
Input
#053c57darkslategray
#053c57darkslategray
Ring
#ccd0d1lightgrey
#ccd0d1lightgrey

Contrast

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

Light mode
Text on background8.47:1AAA
Text on card10.43:1AAA
Primary button7.72:1AAA
Secondary button7.37:1AAA
Muted text6.20:1AA
Accent8.05:1AAA
Destructive4.13:1AA Large
Dark mode
Text on background8.47:1AAA
Text on card10.43:1AAA
Primary button7.72:1AAA
Secondary button7.37:1AAA
Muted text6.20:1AA
Accent8.05:1AAA
Destructive4.13:1AA Large

CSS variables

Paste this into your globals.css to use SynthWave '84 Blues in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.238 0.05 234.998);
  --foreground: oklch(0.789 0 171.254);
  --muted: oklch(0.271 0.01 229.315);
  --muted-foreground: oklch(0.727 0.019 229.118);
  --popover: oklch(0.195 0.04 231.847);
  --popover-foreground: oklch(0.869 0 165.964);
  --card: oklch(0.21 0.043 233.111);
  --card-foreground: oklch(0.829 0 180);
  --border: oklch(0.3 0.062 236.835);
  --input: oklch(0.337 0.071 237.622);
  --primary: oklch(0.854 0.005 228.828);
  --primary-foreground: oklch(0.332 0.007 229.039);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.429 0.098 240.131);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.615 0.219 29.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.854 0.005 228.828);
  --chart-1: oklch(0.854 0.005 228.828);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.429 0.098 240.131);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.854 0.008 228.867);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.238 0.05 234.998);
  --foreground: oklch(0.789 0 171.254);
  --muted: oklch(0.271 0.01 229.315);
  --muted-foreground: oklch(0.727 0.019 229.118);
  --popover: oklch(0.195 0.04 231.847);
  --popover-foreground: oklch(0.869 0 165.964);
  --card: oklch(0.21 0.043 233.111);
  --card-foreground: oklch(0.829 0 180);
  --border: oklch(0.3 0.062 236.835);
  --input: oklch(0.337 0.071 237.622);
  --primary: oklch(0.854 0.005 228.828);
  --primary-foreground: oklch(0.332 0.007 229.039);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.429 0.098 240.131);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.615 0.219 29.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.854 0.005 228.828);
  --chart-1: oklch(0.854 0.005 228.828);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.429 0.098 240.131);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.854 0.008 228.867);
}