Delphi (Ocean) for shadcn/ui

Delphi (Ocean) is a shadcn/ui theme built around a neutral gray primary color (#5c5c5c) with vivid teal accents (#00b3b3). The light mode uses a teal-tinted background (#00ffff). Dark mode keeps the neutral gray primary (#5c5c5c) on a teal-tinted background (#00ffff).

Color palette

TokenLightDark
Background
#00ffffcyan
#00ffffcyan
Foreground
#0000ffblue
#0000ffblue
Card
#00f5f5aqua
#00f5f5aqua
Card foreground
#0000e6blue
#0000e6blue
Popover
#00f0f0aqua
#00f0f0aqua
Popover foreground
#0000ccmediumblue
#0000ccmediumblue
Primary
#5c5c5cdimgray
#5c5c5cdimgray
Primary foreground
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#678383slategray
#678383slategray
Muted foreground
#333333darkslategray
#333333darkslategray
Accent
#00b3b3lightseagreen
#00b3b3lightseagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d31309firebrick
#d31309firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#0bdadadarkturquoise
#0bdadadarkturquoise
Input
#0bcbcbdarkturquoise
#0bcbcbdarkturquoise
Ring
#5c5c5cdimgray
#5c5c5cdimgray

Contrast

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

Light mode
Text on background6.85:1AA
Text on card7.16:1AAA
Primary button6.15:1AA
Secondary button8.25:1AAA
Muted text3.11:1AA Large
Accent2.60:1Fail
Destructive5.45:1AA
Dark mode
Text on background6.85:1AA
Text on card7.16:1AAA
Primary button6.15:1AA
Secondary button8.25:1AAA
Muted text3.11:1AA Large
Accent2.60:1Fail
Destructive5.45:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.905 0.155 194.769);
  --foreground: oklch(0.452 0.313 264.052);
  --muted: oklch(0.589 0.032 196.312);
  --muted-foreground: oklch(0.321 0 180);
  --popover: oklch(0.864 0.147 194.769);
  --popover-foreground: oklch(0.382 0.265 264.052);
  --card: oklch(0.878 0.15 194.769);
  --card-foreground: oklch(0.417 0.289 264.052);
  --border: oklch(0.805 0.136 194.784);
  --input: oklch(0.764 0.129 194.785);
  --primary: oklch(0.474 0 198.435);
  --primary-foreground: oklch(0.97 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.693 0.118 194.769);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.549 0.218 29.494);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.474 0 198.435);
  --chart-1: oklch(0.474 0 198.435);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.693 0.118 194.769);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.469 0.007 17.411);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.905 0.155 194.769);
  --foreground: oklch(0.452 0.313 264.052);
  --muted: oklch(0.589 0.032 196.312);
  --muted-foreground: oklch(0.321 0 180);
  --popover: oklch(0.864 0.147 194.769);
  --popover-foreground: oklch(0.382 0.265 264.052);
  --card: oklch(0.878 0.15 194.769);
  --card-foreground: oklch(0.417 0.289 264.052);
  --border: oklch(0.805 0.136 194.784);
  --input: oklch(0.764 0.129 194.785);
  --primary: oklch(0.474 0 198.435);
  --primary-foreground: oklch(0.97 0 180);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.693 0.118 194.769);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.549 0.218 29.494);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.474 0 198.435);
  --chart-1: oklch(0.474 0 198.435);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.693 0.118 194.769);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.469 0.007 17.411);
}