Blue Depression Jay for shadcn/ui

Blue Depression Jay is a shadcn/ui theme built around an indigo primary color (#3922b9) with violet accents (#8422b9). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#3922b9) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#fcfbfewhite
#020203black
Foreground
#030209black
#f6f6f9whitesmoke
Card
#fcfbfewhite
#020203black
Card foreground
#030209black
#f6f6f9whitesmoke
Popover
#fcfbfewhite
#020203black
Popover foreground
#030209black
#f6f6f9whitesmoke
Primary
#3922b9darkslateblue
#3922b9darkslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#2257b9royalblue
#2257b9royalblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d1d8e6gainsboro
#19212edarkslategray
Muted foreground
#585e6adimgray
#959ba7darkgray
Accent
#8422b9darkorchid
#8422b9darkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#dc2209firebrick
#f0250aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e5eblavender
#1e1d26black
Input
#e6e5eblavender
#1e1d26black
Ring
#3922b9darkslateblue
#3922b9darkslateblue

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button9.98:1AAA
Secondary button6.70:1AA
Muted text4.55:1AA
Accent7.19:1AAA
Destructive4.90:1AA
Dark mode
Text on background19.24:1AAA
Text on card19.24:1AAA
Primary button9.98:1AAA
Secondary button6.70:1AA
Muted text5.81:1AA
Accent7.19:1AAA
Destructive4.22:1AA Large

CSS variables

Paste this into your globals.css to use Blue Depression Jay in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 293.239);
  --foreground: oklch(0.092 0.026 290.903);
  --muted: oklch(0.881 0.02 262.999);
  --muted-foreground: oklch(0.482 0.02 262.931);
  --popover: oklch(0.99 0.004 293.239);
  --popover-foreground: oklch(0.092 0.026 290.903);
  --card: oklch(0.99 0.004 293.239);
  --card-foreground: oklch(0.092 0.026 290.903);
  --border: oklch(0.924 0.009 293.129);
  --input: oklch(0.924 0.009 293.129);
  --primary: oklch(0.405 0.217 277.295);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.481 0.166 261.394);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.487 0.22 309.682);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.574 0.22 30.774);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.405 0.217 277.295);
  --chart-1: oklch(0.405 0.217 277.295);
  --chart-2: oklch(0.481 0.166 261.394);
  --chart-3: oklch(0.487 0.22 309.682);
  --chart-4: oklch(0.504 0.175 261.396);
  --chart-5: oklch(0.403 0.224 276.299);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.009 292.432);
  --foreground: oklch(0.974 0.004 293.235);
  --muted: oklch(0.245 0.028 262.519);
  --muted-foreground: oklch(0.69 0.018 262.988);
  --popover: oklch(0.084 0.009 292.432);
  --popover-foreground: oklch(0.974 0.004 293.235);
  --card: oklch(0.084 0.009 292.432);
  --card-foreground: oklch(0.974 0.004 293.235);
  --border: oklch(0.234 0.018 291.844);
  --input: oklch(0.234 0.018 291.844);
  --primary: oklch(0.405 0.217 277.295);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.481 0.166 261.394);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.487 0.22 309.682);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.611 0.235 30.742);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.405 0.217 277.295);
  --chart-1: oklch(0.405 0.217 277.295);
  --chart-2: oklch(0.481 0.166 261.394);
  --chart-3: oklch(0.487 0.22 309.682);
  --chart-4: oklch(0.504 0.175 261.396);
  --chart-5: oklch(0.403 0.224 276.299);
}