Esteemed for shadcn/ui

Esteemed is a shadcn/ui theme built around a deep indigo primary color (#0e0b23) with deep violet accents (#1a0b23). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#0e0b23) on an indigo-tinted background (#05050b).

Color palette

TokenLightDark
Background
#ffffffwhite
#05050bblack
Foreground
#020209black
#ffffffwhite
Card
#fcfcfcsnow
#07060eblack
Card foreground
#010104black
#ffffffwhite
Popover
#ffffffwhite
#05050bblack
Popover foreground
#020209black
#ffffffwhite
Primary
#0e0b23black
#0e0b23black
Primary foreground
#9188d8mediumpurple
#9188d8mediumpurple
Secondary
#0b1423black
#0b1423black
Secondary foreground
#88a7d8skyblue
#88a7d8skyblue
Muted
#dadde1gainsboro
#1e2025black
Muted foreground
#5e6064dimgray
#9b9da1darkgray
Accent
#1a0b23black
#1a0b23black
Accent foreground
#b988d8orchid
#b988d8orchid
Destructive
#d24c04chocolate
#fb752dtomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e0b23black
#0e0b23black

Contrast

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

Light mode
Text on background20.68:1AAA
Text on card20.39:1AAA
Primary button6.15:1AA
Secondary button7.51:1AAA
Muted text4.62:1AA
Accent6.78:1AA
Destructive4.39:1AA Large
Dark mode
Text on background20.36:1AAA
Text on card20.15:1AAA
Primary button6.15:1AA
Secondary button7.51:1AAA
Muted text5.99:1AA
Accent6.78:1AA
Destructive7.67:1AAA

CSS variables

Paste this into your globals.css to use Esteemed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.092 0.026 288.565);
  --muted: oklch(0.897 0.007 259.942);
  --muted-foreground: oklch(0.489 0.006 259.945);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.092 0.026 288.565);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.073 0.021 288.565);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.17 0.047 285.527);
  --primary-foreground: oklch(0.667 0.118 288.107);
  --secondary: oklch(0.192 0.032 259.59);
  --secondary-foreground: oklch(0.722 0.081 259.761);
  --accent: oklch(0.185 0.049 310.926);
  --accent-foreground: oklch(0.703 0.126 311.721);
  --destructive: oklch(0.593 0.181 40.909);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.17 0.047 285.527);
  --chart-1: oklch(0.17 0.047 285.527);
  --chart-2: oklch(0.192 0.032 259.59);
  --chart-3: oklch(0.185 0.049 310.926);
  --chart-4: oklch(0.222 0.042 259.547);
  --chart-5: oklch(0.168 0.05 285.004);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.017 290.241);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.244 0.01 259.933);
  --muted-foreground: oklch(0.697 0.006 259.942);
  --popover: oklch(0.117 0.017 290.241);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.129 0.02 289.751);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.17 0.047 285.527);
  --primary-foreground: oklch(0.667 0.118 288.107);
  --secondary: oklch(0.192 0.032 259.59);
  --secondary-foreground: oklch(0.722 0.081 259.761);
  --accent: oklch(0.185 0.049 310.926);
  --accent-foreground: oklch(0.703 0.126 311.721);
  --destructive: oklch(0.711 0.182 45.062);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.17 0.047 285.527);
  --chart-1: oklch(0.17 0.047 285.527);
  --chart-2: oklch(0.192 0.032 259.59);
  --chart-3: oklch(0.185 0.049 310.926);
  --chart-4: oklch(0.222 0.042 259.547);
  --chart-5: oklch(0.168 0.05 285.004);
}