Doki Theme: AzurLane: Essex for shadcn/ui

Doki Theme: AzurLane: Essex is a shadcn/ui theme built around a red primary color (#d53434) with vivid deep blue accents (#004585). The light mode uses a blue-tinted background (#001d38). Dark mode keeps the red primary (#d53434) on a blue-tinted background (#001d38).

Color palette

TokenLightDark
Background
#001d38midnightblue
#001d38midnightblue
Foreground
#f8f8f2whitesmoke
#f8f8f2whitesmoke
Card
#00182eblack
#00182eblack
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#001529black
#001529black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#d53434crimson
#d53434crimson
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acactan
#d2acactan
Secondary foreground
#321b1bblack
#321b1bblack
Muted
#22262bdarkslategray
#22262bdarkslategray
Muted foreground
#9ba6b0darkgray
#9ba6b0darkgray
Accent
#004585midnightblue
#004585midnightblue
Accent foreground
#b8dcffpaleturquoise
#b8dcffpaleturquoise
Destructive
#f8200dred
#f8200dred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#042a4emidnightblue
#042a4emidnightblue
Input
#05325cmidnightblue
#05325cmidnightblue
Ring
#d53434crimson
#d53434crimson

Contrast

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

Light mode
Text on background15.97:1AAA
Text on card17.98:1AAA
Primary button4.79:1AA
Secondary button7.84:1AAA
Muted text6.12:1AA
Accent6.76:1AA
Destructive4.04:1AA Large
Dark mode
Text on background15.97:1AAA
Text on card17.98:1AAA
Primary button4.79:1AA
Secondary button7.84:1AAA
Muted text6.12:1AA
Accent6.76:1AA
Destructive4.04:1AA Large

CSS variables

Paste this into your globals.css to use Doki Theme: AzurLane: Essex in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.227 0.063 249.511);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.267 0.011 246.423);
  --muted-foreground: oklch(0.72 0.02 246.277);
  --popover: oklch(0.191 0.05 246.886);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.203 0.055 247.943);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.282 0.077 251.346);
  --input: oklch(0.314 0.088 251.946);
  --primary: oklch(0.577 0.198 26.039);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.391 0.123 253.704);
  --accent-foreground: oklch(0.881 0.062 246.773);
  --destructive: oklch(0.623 0.243 30.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.577 0.198 26.039);
  --chart-1: oklch(0.577 0.198 26.039);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.391 0.123 253.704);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.58 0.205 26.448);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.227 0.063 249.511);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.267 0.011 246.423);
  --muted-foreground: oklch(0.72 0.02 246.277);
  --popover: oklch(0.191 0.05 246.886);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.203 0.055 247.943);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.282 0.077 251.346);
  --input: oklch(0.314 0.088 251.946);
  --primary: oklch(0.577 0.198 26.039);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.391 0.123 253.704);
  --accent-foreground: oklch(0.881 0.062 246.773);
  --destructive: oklch(0.623 0.243 30.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.577 0.198 26.039);
  --chart-1: oklch(0.577 0.198 26.039);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.391 0.123 253.704);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.58 0.205 26.448);
}