Unknown Mysterious Depths for shadcn/ui

Unknown Mysterious Depths is a shadcn/ui theme built around a deep blue primary color (#0a0e2f) with deep violet accents (#170a2f). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the deep blue primary (#0a0e2f) on a neutral background (#020204).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#020204black
Foreground
#020308black
#f8f9fcghostwhite
Card
#f8f8fcghostwhite
#020204black
Card foreground
#020308black
#f8f9fcghostwhite
Popover
#f8f8fcghostwhite
#020204black
Popover foreground
#020308black
#f8f9fcghostwhite
Primary
#0a0e2fblack
#0a0e2fblack
Primary foreground
#8491e6cornflowerblue
#8491e6cornflowerblue
Secondary
#0a212fblack
#0a212fblack
Secondary foreground
#84c2e6skyblue
#84c2e6skyblue
Muted
#eff0f0whitesmoke
#0f1010black
Muted foreground
#3d4042darkslategray
#bdc0c2silver
Accent
#170a2fblack
#170a2fblack
Accent foreground
#a884e6mediumpurple
#a884e6mediumpurple
Destructive
#831102maroon
#fb2509orangered
Destructive foreground
#fec1b9lightpink
#ffffffwhite
Border
#dedfe3gainsboro
#242429darkslategray
Input
#dedfe3gainsboro
#242429darkslategray
Ring
#0a0e2fblack
#0a0e2fblack

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button6.41:1AA
Secondary button8.53:1AAA
Muted text9.14:1AAA
Accent6.35:1AA
Destructive6.63:1AA
Dark mode
Text on background19.72:1AAA
Text on card19.72:1AAA
Primary button6.41:1AA
Secondary button8.53:1AAA
Muted text10.45:1AAA
Accent6.35:1AA
Destructive3.90:1AA Large

CSS variables

Paste this into your globals.css to use Unknown Mysterious Depths in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.006 279.256);
  --foreground: oklch(0.096 0.021 271.2);
  --muted: oklch(0.954 0.001 232.599);
  --muted-foreground: oklch(0.371 0.005 232.788);
  --popover: oklch(0.98 0.006 279.256);
  --popover-foreground: oklch(0.096 0.021 271.2);
  --card: oklch(0.98 0.006 279.256);
  --card-foreground: oklch(0.096 0.021 271.2);
  --border: oklch(0.904 0.005 279.256);
  --input: oklch(0.904 0.005 279.256);
  --primary: oklch(0.185 0.064 271.962);
  --primary-foreground: oklch(0.683 0.125 275.915);
  --secondary: oklch(0.236 0.039 237.105);
  --secondary-foreground: oklch(0.785 0.081 234.632);
  --accent: oklch(0.189 0.07 295.76);
  --accent-foreground: oklch(0.687 0.143 299.527);
  --destructive: oklch(0.391 0.149 31.276);
  --destructive-foreground: oklch(0.863 0.072 27.216);
  --ring: oklch(0.185 0.064 271.962);
  --chart-1: oklch(0.185 0.064 271.962);
  --chart-2: oklch(0.236 0.039 237.105);
  --chart-3: oklch(0.189 0.07 295.76);
  --chart-4: oklch(0.272 0.048 237.639);
  --chart-5: oklch(0.184 0.067 271.452);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.083 0.01 275.206);
  --foreground: oklch(0.981 0.004 279.274);
  --muted: oklch(0.17 0.002 232.745);
  --muted-foreground: oklch(0.806 0.004 232.658);
  --popover: oklch(0.083 0.01 275.206);
  --popover-foreground: oklch(0.981 0.004 279.274);
  --card: oklch(0.083 0.01 275.206);
  --card-foreground: oklch(0.981 0.004 279.274);
  --border: oklch(0.263 0.009 278.822);
  --input: oklch(0.263 0.009 278.822);
  --primary: oklch(0.185 0.064 271.962);
  --primary-foreground: oklch(0.683 0.125 275.915);
  --secondary: oklch(0.236 0.039 237.105);
  --secondary-foreground: oklch(0.785 0.081 234.632);
  --accent: oklch(0.189 0.07 295.76);
  --accent-foreground: oklch(0.687 0.143 299.527);
  --destructive: oklch(0.632 0.244 30.682);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.185 0.064 271.962);
  --chart-1: oklch(0.185 0.064 271.962);
  --chart-2: oklch(0.236 0.039 237.105);
  --chart-3: oklch(0.189 0.07 295.76);
  --chart-4: oklch(0.272 0.048 237.639);
  --chart-5: oklch(0.184 0.067 271.452);
}