Concerned Ashenvale Nights for shadcn/ui

Concerned Ashenvale Nights is a shadcn/ui theme built around a deep blue primary color (#12416e) with neutral gray accents (#e4e6e7). The light mode uses a neutral background (#f8fafc). Dark mode keeps the deep blue primary (#12416e) on a blue-tinted background (#05080a).

Color palette

TokenLightDark
Background
#f8fafcghostwhite
#05080ablack
Foreground
#010305black
#ffffffwhite
Card
#f4f7fbghostwhite
#070a0eblack
Card foreground
#000000black
#ffffffwhite
Popover
#f4f7fbghostwhite
#070a0eblack
Popover foreground
#000000black
#ffffffwhite
Primary
#12416emidnightblue
#12416emidnightblue
Primary foreground
#e9f3fbaliceblue
#bddaf4powderblue
Secondary
#e4e6e7gainsboro
#121417black
Secondary foreground
#494d50darkslategray
#a3aeb8darkgray
Muted
#dcdee0gainsboro
#1f2123black
Muted foreground
#3e4851darkslategray
#aeb8c1silver
Accent
#e4e6e7gainsboro
#121417black
Accent foreground
#494d50darkslategray
#a3aeb8darkgray
Destructive
#6b0e00maroon
#ff2605orangered
Destructive foreground
#ffab9elightpink
#ffffffwhite
Border
#e7e8e9lavender
#222426darkslategray
Input
#e7e8e9lavender
#222426darkslategray
Ring
#12416emidnightblue
#12416emidnightblue

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.59:1AAA
Primary button9.28:1AAA
Secondary button6.79:1AA
Muted text6.91:1AA
Accent6.79:1AA
Destructive6.84:1AA
Dark mode
Text on background20.10:1AAA
Text on card19.81:1AAA
Primary button7.20:1AAA
Secondary button8.15:1AAA
Muted text7.99:1AAA
Accent8.15:1AAA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use Concerned Ashenvale Nights in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 246.014);
  --foreground: oklch(0.088 0.014 234.814);
  --muted: oklch(0.899 0.003 246.003);
  --muted-foreground: oklch(0.395 0.02 246.533);
  --popover: oklch(0.976 0.006 246.039);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.976 0.006 246.039);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.931 0.002 245.996);
  --input: oklch(0.931 0.002 245.996);
  --primary: oklch(0.37 0.091 250.683);
  --primary-foreground: oklch(0.958 0.016 246.154);
  --secondary: oklch(0.923 0.002 245.994);
  --secondary-foreground: oklch(0.417 0.008 246.187);
  --accent: oklch(0.923 0.002 245.994);
  --accent-foreground: oklch(0.417 0.008 246.187);
  --destructive: oklch(0.341 0.128 32.347);
  --destructive-foreground: oklch(0.82 0.101 29.055);
  --ring: oklch(0.37 0.091 250.683);
  --chart-1: oklch(0.37 0.091 250.683);
  --chart-2: oklch(0.923 0.002 245.994);
  --chart-3: oklch(0.923 0.002 245.994);
  --chart-4: oklch(0.946 0.002 245.985);
  --chart-5: oklch(0.371 0.094 251.008);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.009 241.07);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.247 0.004 246.15);
  --muted-foreground: oklch(0.778 0.017 246.212);
  --popover: oklch(0.144 0.01 243.962);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.01 243.962);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.258 0.005 246.191);
  --input: oklch(0.258 0.005 246.191);
  --primary: oklch(0.37 0.091 250.683);
  --primary-foreground: oklch(0.875 0.048 246.59);
  --secondary: oklch(0.192 0.007 246.367);
  --secondary-foreground: oklch(0.745 0.019 246.261);
  --accent: oklch(0.192 0.007 246.367);
  --accent-foreground: oklch(0.745 0.019 246.261);
  --destructive: oklch(0.639 0.247 30.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.37 0.091 250.683);
  --chart-1: oklch(0.37 0.091 250.683);
  --chart-2: oklch(0.192 0.007 246.367);
  --chart-3: oklch(0.192 0.007 246.367);
  --chart-4: oklch(0.225 0.009 246.417);
  --chart-5: oklch(0.371 0.094 251.008);
}