Identical Crystalsong Blue for shadcn/ui

Identical Crystalsong Blue is a shadcn/ui theme built around a teal primary color (#5fb4b4) with deep blue accents (#264759). The light mode uses a blue-tinted background (#0f1d24). Dark mode keeps the teal primary (#5fb4b4) on a blue-tinted background (#0f1d24).

Color palette

TokenLightDark
Background
#0f1d24black
#0f1d24black
Foreground
#ffffffwhite
#ffffffwhite
Card
#0c171dblack
#0c171dblack
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#0b1419black
#0b1419black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#5fb4b4mediumaquamarine
#5fb4b4mediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#2f5050darkslategray
#2f5050darkslategray
Secondary foreground
#cfe3e3gainsboro
#cfe3e3gainsboro
Muted
#22282bdarkslategray
#22282bdarkslategray
Muted foreground
#9ba9b0darkgray
#9ba9b0darkgray
Accent
#264759darkslategray
#264759darkslategray
Accent foreground
#c9dde8gainsboro
#c9dde8gainsboro
Destructive
#f01505red
#f01505red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1b2a32darkslategray
#1b2a32darkslategray
Input
#20323cdarkslategray
#20323cdarkslategray
Ring
#5fb4b4mediumaquamarine
#5fb4b4mediumaquamarine

Contrast

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

Light mode
Text on background17.24:1AAA
Text on card18.18:1AAA
Primary button8.67:1AAA
Secondary button6.57:1AA
Muted text6.21:1AA
Accent7.00:1AAA
Destructive4.36:1AA Large
Dark mode
Text on background17.24:1AAA
Text on card18.18:1AAA
Primary button8.67:1AAA
Secondary button6.57:1AA
Muted text6.21:1AA
Accent7.00:1AAA
Destructive4.36:1AA Large

CSS variables

Paste this into your globals.css to use Identical Crystalsong Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.22 0.023 232.803);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.01 231.241);
  --muted-foreground: oklch(0.726 0.019 231.041);
  --popover: oklch(0.185 0.017 232.437);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.197 0.019 232.573);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.274 0.025 232.391);
  --input: oklch(0.306 0.029 232.497);
  --primary: oklch(0.717 0.082 195.476);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.407 0.039 195.733);
  --secondary-foreground: oklch(0.9 0.021 196.782);
  --accent: oklch(0.382 0.049 233.642);
  --accent-foreground: oklch(0.887 0.026 231.087);
  --destructive: oklch(0.604 0.242 29.765);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.717 0.082 195.476);
  --chart-1: oklch(0.717 0.082 195.476);
  --chart-2: oklch(0.407 0.039 195.733);
  --chart-3: oklch(0.382 0.049 233.642);
  --chart-4: oklch(0.44 0.043 195.715);
  --chart-5: oklch(0.725 0.087 195.399);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.22 0.023 232.803);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.271 0.01 231.241);
  --muted-foreground: oklch(0.726 0.019 231.041);
  --popover: oklch(0.185 0.017 232.437);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.197 0.019 232.573);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.274 0.025 232.391);
  --input: oklch(0.306 0.029 232.497);
  --primary: oklch(0.717 0.082 195.476);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.407 0.039 195.733);
  --secondary-foreground: oklch(0.9 0.021 196.782);
  --accent: oklch(0.382 0.049 233.642);
  --accent-foreground: oklch(0.887 0.026 231.087);
  --destructive: oklch(0.604 0.242 29.765);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.717 0.082 195.476);
  --chart-1: oklch(0.717 0.082 195.476);
  --chart-2: oklch(0.407 0.039 195.733);
  --chart-3: oklch(0.382 0.049 233.642);
  --chart-4: oklch(0.44 0.043 195.715);
  --chart-5: oklch(0.725 0.087 195.399);
}