Delphi (Classic) for shadcn/ui

Delphi (Classic) is a shadcn/ui theme built around a near-white primary color (#f0f0f0) with vivid indigo accents (#0000cc). The light mode uses an indigo-tinted background (#000080). Dark mode keeps the near-white primary (#f0f0f0) on an indigo-tinted background (#000080).

Color palette

TokenLightDark
Background
#000080navy
#000080navy
Foreground
#ffff00yellow
#ffff00yellow
Card
#000075navy
#000075navy
Card foreground
#ffff19yellow
#ffff19yellow
Popover
#000070navy
#000070navy
Popover foreground
#ffff33yellow
#ffff33yellow
Primary
#f0f0f0whitesmoke
#f0f0f0whitesmoke
Primary foreground
#575757dimgray
#575757dimgray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#414153darkslategray
#414153darkslategray
Muted foreground
#c3c3d0silver
#c3c3d0silver
Accent
#0000ccmediumblue
#0000ccmediumblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#e9342bcrimson
#e9342bcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#080891darkblue
#080891darkblue
Input
#0808a0darkblue
#0808a0darkblue
Ring
#f0f0f0whitesmoke
#f0f0f0whitesmoke

Contrast

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

Light mode
Text on background14.93:1AAA
Text on card15.55:1AAA
Primary button6.32:1AA
Secondary button7.37:1AAA
Muted text5.71:1AA
Accent11.21:1AAA
Destructive4.21:1AA Large
Dark mode
Text on background14.93:1AAA
Text on card15.55:1AAA
Primary button6.32:1AA
Secondary button7.37:1AAA
Muted text5.71:1AA
Accent11.21:1AAA
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use Delphi (Classic) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.27 0.187 264.052);
  --foreground: oklch(0.968 0.211 109.769);
  --muted: oklch(0.383 0.03 284.893);
  --muted-foreground: oklch(0.821 0.018 286);
  --popover: oklch(0.247 0.171 264.052);
  --popover-foreground: oklch(0.969 0.201 109.623);
  --card: oklch(0.255 0.176 264.052);
  --card-foreground: oklch(0.968 0.208 109.724);
  --border: oklch(0.305 0.2 265.825);
  --input: oklch(0.326 0.216 265.647);
  --primary: oklch(0.954 0 180);
  --primary-foreground: oklch(0.456 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.382 0.265 264.052);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.61 0.217 28.57);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.954 0 180);
  --chart-1: oklch(0.954 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.382 0.265 264.052);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.954 0.001 17.175);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.27 0.187 264.052);
  --foreground: oklch(0.968 0.211 109.769);
  --muted: oklch(0.383 0.03 284.893);
  --muted-foreground: oklch(0.821 0.018 286);
  --popover: oklch(0.247 0.171 264.052);
  --popover-foreground: oklch(0.969 0.201 109.623);
  --card: oklch(0.255 0.176 264.052);
  --card-foreground: oklch(0.968 0.208 109.724);
  --border: oklch(0.305 0.2 265.825);
  --input: oklch(0.326 0.216 265.647);
  --primary: oklch(0.954 0 180);
  --primary-foreground: oklch(0.456 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.382 0.265 264.052);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.61 0.217 28.57);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.954 0 180);
  --chart-1: oklch(0.954 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.382 0.265 264.052);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.954 0.001 17.175);
}