Washed Black Cicada for shadcn/ui

Washed Black Cicada is a shadcn/ui theme built around a muted deep blue primary color (#182026) with muted deep orange accents (#261e18). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted deep blue primary (#182026) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfewhite
#000000black
Foreground
#000000black
#f8fafbghostwhite
Card
#f8fafcghostwhite
#030303black
Card foreground
#000000black
#fcfdfdwhite
Popover
#fbfdfewhite
#000000black
Popover foreground
#000000black
#f8fafbghostwhite
Primary
#182026black
#182026black
Primary foreground
#a7bac8lightsteelblue
#a7bac8lightsteelblue
Secondary
#261e18black
#261e18black
Secondary foreground
#c8b5a7silver
#c8b5a7silver
Muted
#e7dad0gainsboro
#2f2218black
Muted foreground
#62554bdimgray
#b4a79ddarkgray
Accent
#261e18black
#261e18black
Accent foreground
#c8b5a7silver
#c8b5a7silver
Destructive
#732607maroon
#f16027chocolate
Destructive foreground
#fac7b2peachpuff
#000000black
Border
#eaebeblavender
#1d1f20black
Input
#eaebeblavender
#1d1f20black
Ring
#182026black
#182026black

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.08:1AAA
Primary button8.28:1AAA
Secondary button8.32:1AAA
Muted text5.24:1AA
Accent8.32:1AAA
Destructive6.90:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.29:1AAA
Primary button8.28:1AAA
Secondary button8.32:1AAA
Muted text6.55:1AA
Accent8.32:1AAA
Destructive6.46:1AA

CSS variables

Paste this into your globals.css to use Washed Black Cicada in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 240.308);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.895 0.02 59.982);
  --muted-foreground: oklch(0.46 0.023 59.581);
  --popover: oklch(0.992 0.002 240.308);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.004 240.333);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.939 0.001 240.304);
  --input: oklch(0.939 0.001 240.304);
  --primary: oklch(0.237 0.017 241.33);
  --primary-foreground: oklch(0.779 0.029 240.808);
  --secondary: oklch(0.241 0.017 59.266);
  --secondary-foreground: oklch(0.786 0.029 59.768);
  --accent: oklch(0.241 0.017 59.266);
  --accent-foreground: oklch(0.786 0.029 59.768);
  --destructive: oklch(0.382 0.115 38.942);
  --destructive-foreground: oklch(0.869 0.065 42.63);
  --ring: oklch(0.237 0.017 241.33);
  --chart-1: oklch(0.237 0.017 241.33);
  --chart-2: oklch(0.241 0.017 59.266);
  --chart-3: oklch(0.241 0.017 59.266);
  --chart-4: oklch(0.274 0.02 59.19);
  --chart-5: oklch(0.237 0.019 241.486);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.003 240.319);
  --muted: oklch(0.265 0.026 58.705);
  --muted-foreground: oklch(0.736 0.02 59.902);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.003 240.319);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 240.301);
  --border: oklch(0.237 0.003 240.453);
  --input: oklch(0.237 0.003 240.453);
  --primary: oklch(0.237 0.017 241.33);
  --primary-foreground: oklch(0.779 0.029 240.808);
  --secondary: oklch(0.241 0.017 59.266);
  --secondary-foreground: oklch(0.786 0.029 59.768);
  --accent: oklch(0.241 0.017 59.266);
  --accent-foreground: oklch(0.786 0.029 59.768);
  --destructive: oklch(0.669 0.191 39.725);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.237 0.017 241.33);
  --chart-1: oklch(0.237 0.017 241.33);
  --chart-2: oklch(0.241 0.017 59.266);
  --chart-3: oklch(0.241 0.017 59.266);
  --chart-4: oklch(0.274 0.02 59.19);
  --chart-5: oklch(0.237 0.019 241.486);
}