Blond for shadcn/ui

Blond is a shadcn/ui theme built around a cyan primary color (#42a0b8) with red accents (#b85a42). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the cyan primary (#42a0b8) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#020b0dblack
#ffffffwhite
Card
#f8fbfcghostwhite
#000000black
Card foreground
#020b0dblack
#ffffffwhite
Popover
#f8fbfcghostwhite
#000000black
Popover foreground
#020b0dblack
#ffffffwhite
Primary
#42a0b8steelblue
#42a0b8steelblue
Primary foreground
#000000black
#000000black
Secondary
#b85a42sienna
#b85a42sienna
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3f2f1whitesmoke
#0e0c0cblack
Muted foreground
#524d4cdarkslategray
#b3aeaddarkgray
Accent
#b85a42sienna
#b85a42sienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b12802firebrick
#ed3502orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#42a0b8steelblue
#42a0b8steelblue

Contrast

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

Light mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button6.96:1AA
Secondary button4.60:1AA
Muted text7.43:1AAA
Accent4.60:1AA
Destructive6.63:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.96:1AA
Secondary button4.60:1AA
Muted text8.88:1AAA
Accent4.60:1AA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 214.325);
  --foreground: oklch(0.14 0.018 210.866);
  --muted: oklch(0.961 0.001 34.315);
  --muted-foreground: oklch(0.425 0.007 34.298);
  --popover: oklch(0.986 0.003 214.325);
  --popover-foreground: oklch(0.14 0.018 210.866);
  --card: oklch(0.986 0.003 214.325);
  --card-foreground: oklch(0.14 0.018 210.866);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.66 0.094 217.128);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.576 0.127 35.159);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.576 0.127 35.159);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.497 0.178 33.931);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.66 0.094 217.128);
  --chart-1: oklch(0.66 0.094 217.128);
  --chart-2: oklch(0.576 0.127 35.159);
  --chart-3: oklch(0.576 0.127 35.159);
  --chart-4: oklch(0.6 0.124 35.102);
  --chart-5: oklch(0.666 0.098 217.455);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.157 0.002 34.299);
  --muted-foreground: oklch(0.755 0.006 34.304);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.66 0.094 217.128);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.576 0.127 35.159);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.576 0.127 35.159);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.617 0.224 33.429);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.66 0.094 217.128);
  --chart-1: oklch(0.66 0.094 217.128);
  --chart-2: oklch(0.576 0.127 35.159);
  --chart-3: oklch(0.576 0.127 35.159);
  --chart-4: oklch(0.6 0.124 35.102);
  --chart-5: oklch(0.666 0.098 217.455);
}