Vertical Soulstone Blue for shadcn/ui

Vertical Soulstone Blue is a shadcn/ui theme built around a vivid blue primary color (#0d47a1) with muted deep teal accents (#1d2624). The light mode uses a neutral background (#fffefe). Dark mode switches to a muted deep red primary (#261d1e) on a red-tinted background (#0b0405).

Color palette

TokenLightDark
Background
#fffefewhite
#0b0405black
Foreground
#212121black
#f9f6f6whitesmoke
Card
#f5f5f5whitesmoke
#0f0607black
Card foreground
#212121black
#fbf9f9snow
Popover
#e0e0e0gainsboro
#0b0405black
Popover foreground
#212121black
#f9f6f6whitesmoke
Primary
#0d47a1darkslateblue
#261d1eblack
Primary foreground
#ffffffwhite
#c4b1b3silver
Secondary
#546e7adimgray
#1d2624black
Secondary foreground
#ffffffwhite
#b1c4c1silver
Muted
#f1f3f3whitesmoke
#0c0e0eblack
Muted foreground
#546361dimgray
#9caba8darkgray
Accent
#1d2624black
#1d2624black
Accent foreground
#b1c4c1silver
#b1c4c1silver
Destructive
#d70f0fred
#f02d2dcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ebeaealinen
#282525darkslategray
Input
#ebeaealinen
#282525darkslategray
Ring
#261d1eblack
#261d1eblack

Contrast

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

Light mode
Text on background15.98:1AAA
Text on card14.77:1AAA
Primary button8.63:1AAA
Secondary button5.40:1AA
Muted text5.67:1AA
Accent8.53:1AAA
Destructive5.31:1AA
Dark mode
Text on background18.88:1AAA
Text on card19.11:1AAA
Primary button8.09:1AAA
Secondary button8.53:1AAA
Muted text8.12:1AAA
Accent8.53:1AAA
Destructive4.08:1AA Large

CSS variables

Paste this into your globals.css to use Vertical Soulstone Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.998 0.001 6.626);
  --foreground: oklch(0.248 0 180);
  --muted: oklch(0.964 0.002 186.53);
  --muted-foreground: oklch(0.487 0.018 185.616);
  --popover: oklch(0.907 0 180);
  --popover-foreground: oklch(0.248 0 180);
  --card: oklch(0.97 0 187.595);
  --card-foreground: oklch(0.248 0 180);
  --border: oklch(0.938 0.002 6.643);
  --input: oklch(0.938 0.002 6.643);
  --primary: oklch(0.422 0.157 259.916);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.522 0.036 227.886);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.258 0.013 185.226);
  --accent-foreground: oklch(0.804 0.021 185.908);
  --destructive: oklch(0.555 0.222 28.68);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.24 0.015 8.124);
  --chart-1: oklch(0.422 0.157 259.916);
  --chart-2: oklch(0.522 0.036 227.886);
  --chart-3: oklch(0.258 0.013 185.226);
  --chart-4: oklch(0.549 0.038 227.898);
  --chart-5: oklch(0.422 0.162 260.087);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.016 7.219);
  --foreground: oklch(0.975 0.003 6.672);
  --muted: oklch(0.161 0.004 185.982);
  --muted-foreground: oklch(0.728 0.017 186.002);
  --popover: oklch(0.122 0.016 7.219);
  --popover-foreground: oklch(0.975 0.003 6.672);
  --card: oklch(0.136 0.019 8.003);
  --card-foreground: oklch(0.984 0.002 6.646);
  --border: oklch(0.267 0.005 7.031);
  --input: oklch(0.267 0.005 7.031);
  --primary: oklch(0.24 0.015 8.124);
  --primary-foreground: oklch(0.776 0.023 7.32);
  --secondary: oklch(0.258 0.013 185.226);
  --secondary-foreground: oklch(0.804 0.021 185.908);
  --accent: oklch(0.258 0.013 185.226);
  --accent-foreground: oklch(0.804 0.021 185.908);
  --destructive: oklch(0.619 0.228 27.138);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.24 0.015 8.124);
  --chart-1: oklch(0.24 0.015 8.124);
  --chart-2: oklch(0.258 0.013 185.226);
  --chart-3: oklch(0.258 0.013 185.226);
  --chart-4: oklch(0.292 0.016 185.15);
  --chart-5: oklch(0.239 0.018 8.477);
}