Black Chasm Echidna for shadcn/ui

Black Chasm Echidna is a shadcn/ui theme built around a deep cyan primary color (#122c30) with deep blue accents (#121d30). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#122c30) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#020c0dblack
#ffffffwhite
Card
#ffffffwhite
#010304black
Card foreground
#020c0dblack
#ffffffwhite
Popover
#ffffffwhite
#010304black
Popover foreground
#020c0dblack
#ffffffwhite
Primary
#122c30darkslategray
#122c30darkslategray
Primary foreground
#9ad1dalightblue
#9ad1dalightblue
Secondary
#123025darkslategray
#123025darkslategray
Secondary foreground
#50be96mediumaquamarine
#50be96mediumaquamarine
Muted
#d7e5e0gainsboro
#1a2823black
Muted foreground
#526b62dimgray
#94ada4darkgray
Accent
#121d30black
#121d30black
Accent foreground
#9ab2dalightsteelblue
#9ab2dalightsteelblue
Destructive
#930101darkred
#ef0101red
Destructive foreground
#ffc7c7pink
#ffffffwhite
Border
#e8e8e9lavender
#191a1ablack
Input
#e8e8e9lavender
#191a1ablack
Ring
#122c30darkslategray
#122c30darkslategray

Contrast

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

Light mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button8.72:1AAA
Secondary button6.17:1AA
Muted text4.44:1AA Large
Accent7.83:1AAA
Destructive6.33:1AA
Dark mode
Text on background20.62:1AAA
Text on card20.62:1AAA
Primary button8.72:1AAA
Secondary button6.17:1AA
Muted text6.36:1AA
Accent7.83:1AAA
Destructive4.50:1AA

CSS variables

Paste this into your globals.css to use Black Chasm Echidna in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.142 0.018 205.323);
  --muted: oklch(0.91 0.017 172.02);
  --muted-foreground: oklch(0.504 0.032 170.554);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.142 0.018 205.323);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.142 0.018 205.323);
  --border: oklch(0.932 0.001 207.929);
  --input: oklch(0.932 0.001 207.929);
  --primary: oklch(0.276 0.033 208.571);
  --primary-foreground: oklch(0.827 0.058 207.91);
  --secondary: oklch(0.284 0.042 166.864);
  --secondary-foreground: oklch(0.727 0.118 166.064);
  --accent: oklch(0.231 0.041 260.842);
  --accent-foreground: oklch(0.759 0.063 261.295);
  --destructive: oklch(0.417 0.171 29.171);
  --destructive-foreground: oklch(0.879 0.064 18.434);
  --ring: oklch(0.276 0.033 208.571);
  --chart-1: oklch(0.276 0.033 208.571);
  --chart-2: oklch(0.284 0.042 166.864);
  --chart-3: oklch(0.231 0.041 260.842);
  --chart-4: oklch(0.323 0.05 166.534);
  --chart-5: oklch(0.278 0.035 208.699);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.008 205.286);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.263 0.022 169.82);
  --muted-foreground: oklch(0.726 0.03 171.318);
  --popover: oklch(0.096 0.008 205.286);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.008 205.286);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.216 0.001 207.906);
  --input: oklch(0.216 0.001 207.906);
  --primary: oklch(0.276 0.033 208.571);
  --primary-foreground: oklch(0.827 0.058 207.91);
  --secondary: oklch(0.284 0.042 166.864);
  --secondary-foreground: oklch(0.727 0.118 166.064);
  --accent: oklch(0.231 0.041 260.842);
  --accent-foreground: oklch(0.759 0.063 261.295);
  --destructive: oklch(0.597 0.245 29.199);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.276 0.033 208.571);
  --chart-1: oklch(0.276 0.033 208.571);
  --chart-2: oklch(0.284 0.042 166.864);
  --chart-3: oklch(0.231 0.041 260.842);
  --chart-4: oklch(0.323 0.05 166.534);
  --chart-5: oklch(0.278 0.035 208.699);
}