Immaculate for shadcn/ui

Immaculate is a shadcn/ui theme built around a cyan primary color (#59bac5) with blue accents (#5984c5). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the cyan primary (#59bac5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#000000black
Foreground
#020708black
#f8fbfcghostwhite
Card
#f8fbfbghostwhite
#030303black
Card foreground
#010404black
#fcfdfdwhite
Popover
#fcfdfdwhite
#000000black
Popover foreground
#020708black
#f8fbfcghostwhite
Primary
#59bac5mediumturquoise
#59bac5mediumturquoise
Primary foreground
#000000black
#000000black
Secondary
#59c59amediumaquamarine
#59c59amediumaquamarine
Secondary foreground
#000000black
#000000black
Muted
#d9e3dfgainsboro
#1c2622black
Muted foreground
#4d6059dimgray
#9fb2aadarkgray
Accent
#5984c5steelblue
#5984c5steelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b24810sienna
#eb5f14chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#59bac5mediumturquoise
#59bac5mediumturquoise

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.81:1AAA
Primary button9.24:1AAA
Secondary button9.84:1AAA
Muted text5.10:1AA
Accent3.79:1AA Large
Destructive5.45:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.29:1AAA
Primary button9.24:1AAA
Secondary button9.84:1AAA
Muted text6.95:1AA
Accent3.79:1AA Large
Destructive6.17:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.001 204.978);
  --foreground: oklch(0.122 0.012 202.467);
  --muted: oklch(0.907 0.013 170.218);
  --muted-foreground: oklch(0.472 0.026 168.922);
  --popover: oklch(0.993 0.001 204.978);
  --popover-foreground: oklch(0.122 0.012 202.467);
  --card: oklch(0.986 0.003 204.967);
  --card-foreground: oklch(0.097 0.01 202.467);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.734 0.092 205.097);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.747 0.119 164.513);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.611 0.11 258.276);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.537 0.151 43.223);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.734 0.092 205.097);
  --chart-1: oklch(0.734 0.092 205.097);
  --chart-2: oklch(0.747 0.119 164.513);
  --chart-3: oklch(0.611 0.11 258.276);
  --chart-4: oklch(0.763 0.112 165.184);
  --chart-5: oklch(0.741 0.096 205.188);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 204.961);
  --muted: oklch(0.259 0.017 168.605);
  --muted-foreground: oklch(0.746 0.024 169.682);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.004 204.961);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.002 204.976);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.734 0.092 205.097);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.747 0.119 164.513);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.611 0.11 258.276);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.657 0.188 42.762);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.734 0.092 205.097);
  --chart-1: oklch(0.734 0.092 205.097);
  --chart-2: oklch(0.747 0.119 164.513);
  --chart-3: oklch(0.611 0.11 258.276);
  --chart-4: oklch(0.763 0.112 165.184);
  --chart-5: oklch(0.741 0.096 205.188);
}