Blue Charcoal Roundworm for shadcn/ui

Blue Charcoal Roundworm is a shadcn/ui theme built around a muted deep blue primary color (#272c2f) with muted deep green accents (#2c2f27). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep blue primary (#272c2f) on a blue-tinted background (#05080a).

Color palette

TokenLightDark
Background
#ffffffwhite
#05080ablack
Foreground
#010304black
#f8fafcghostwhite
Card
#ffffffwhite
#05080ablack
Card foreground
#010304black
#f8fafcghostwhite
Popover
#ffffffwhite
#05080ablack
Popover foreground
#010304black
#f8fafcghostwhite
Primary
#272c2fdarkslategray
#272c2fdarkslategray
Primary foreground
#bfc5casilver
#bfc5casilver
Secondary
#2f272cdarkslategray
#2f272cdarkslategray
Secondary foreground
#cabfc5silver
#cabfc5silver
Muted
#e5d7degainsboro
#281a22black
Muted foreground
#6d5f66dimgray
#a09299darkgray
Accent
#2c2f27darkslategray
#2c2f27darkslategray
Accent foreground
#c5cabfsilver
#c5cabfsilver
Destructive
#873408saddlebrown
#f16113chocolate
Destructive foreground
#fcd8c5bisque
#000000black
Border
#eef0f1whitesmoke
#23262adarkslategray
Input
#eef0f1whitesmoke
#23262adarkslategray
Ring
#272c2fdarkslategray
#272c2fdarkslategray

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 button8.12:1AAA
Secondary button8.09:1AAA
Muted text4.33:1AA Large
Accent8.13:1AAA
Destructive6.23:1AA
Dark mode
Text on background19.20:1AAA
Text on card19.20:1AAA
Primary button8.12:1AAA
Secondary button8.09:1AAA
Muted text5.59:1AA
Accent8.13:1AAA
Destructive6.45:1AA

CSS variables

Paste this into your globals.css to use Blue Charcoal Roundworm in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.089 0.011 235.059);
  --muted: oklch(0.892 0.018 343.949);
  --muted-foreground: oklch(0.501 0.022 344.494);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.089 0.011 235.059);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.089 0.011 235.059);
  --border: oklch(0.954 0.002 244.12);
  --input: oklch(0.954 0.002 244.12);
  --primary: oklch(0.289 0.009 244.472);
  --primary-foreground: oklch(0.82 0.009 244.231);
  --secondary: oklch(0.285 0.014 344.604);
  --secondary-foreground: oklch(0.815 0.014 343.873);
  --accent: oklch(0.3 0.015 127.724);
  --accent-foreground: oklch(0.831 0.015 127.341);
  --destructive: oklch(0.437 0.124 43.05);
  --destructive-foreground: oklch(0.908 0.047 50.036);
  --ring: oklch(0.289 0.009 244.472);
  --chart-1: oklch(0.289 0.009 244.472);
  --chart-2: oklch(0.285 0.014 344.604);
  --chart-3: oklch(0.3 0.015 127.724);
  --chart-4: oklch(0.315 0.016 344.648);
  --chart-5: oklch(0.288 0.012 244.602);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.008 239.517);
  --foreground: oklch(0.984 0.003 244.132);
  --muted: oklch(0.239 0.026 345.954);
  --muted-foreground: oklch(0.674 0.02 344.174);
  --popover: oklch(0.131 0.008 239.517);
  --popover-foreground: oklch(0.984 0.003 244.132);
  --card: oklch(0.131 0.008 239.517);
  --card-foreground: oklch(0.984 0.003 244.132);
  --border: oklch(0.268 0.008 244.46);
  --input: oklch(0.268 0.008 244.46);
  --primary: oklch(0.289 0.009 244.472);
  --primary-foreground: oklch(0.82 0.009 244.231);
  --secondary: oklch(0.285 0.014 344.604);
  --secondary-foreground: oklch(0.815 0.014 343.873);
  --accent: oklch(0.3 0.015 127.724);
  --accent-foreground: oklch(0.831 0.015 127.341);
  --destructive: oklch(0.668 0.194 42.454);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.289 0.009 244.472);
  --chart-1: oklch(0.289 0.009 244.472);
  --chart-2: oklch(0.285 0.014 344.604);
  --chart-3: oklch(0.3 0.015 127.724);
  --chart-4: oklch(0.315 0.016 344.648);
  --chart-5: oklch(0.288 0.012 244.602);
}