Blue-Eyed Boy Heron for shadcn/ui

Blue-Eyed Boy Heron is a shadcn/ui theme built around a vivid blue primary color (#1978d7) with muted light blue accents (#bbc2c9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1978d7) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#000000black
#fcfcfdwhite
Card
#fcfcfcsnow
#020508black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#010304black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#1978d7royalblue
#1978d7royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dbdbdcgainsboro
#28292adarkslategray
Secondary foreground
#414244darkslategray
#c0c2c4silver
Muted
#e6edf4lavender
#0b1219black
Muted foreground
#3e4041darkslategray
#bebfc1silver
Accent
#bbc2c9silver
#353b40darkslategray
Accent foreground
#24292ddarkslategray
#d0d4d8lightgrey
Destructive
#af3b0dfirebrick
#da4a10chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f1f2f4whitesmoke
#22262adarkslategray
Input
#f1f2f4whitesmoke
#22262adarkslategray
Ring
#1978d7royalblue
#1978d7royalblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button4.47:1AA Large
Secondary button7.27:1AAA
Muted text8.84:1AAA
Accent8.14:1AAA
Destructive6.05:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.41:1AAA
Primary button4.47:1AA Large
Secondary button8.18:1AAA
Muted text10.24:1AAA
Accent7.63:1AAA
Destructive4.23:1AA Large

CSS variables

Paste this into your globals.css to use Blue-Eyed Boy Heron in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.943 0.012 247.954);
  --muted-foreground: oklch(0.37 0.003 247.9);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.961 0.002 247.848);
  --input: oklch(0.961 0.002 247.848);
  --primary: oklch(0.572 0.167 253.516);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.892 0.001 247.836);
  --secondary-foreground: oklch(0.379 0.003 247.901);
  --accent: oklch(0.81 0.012 247.976);
  --accent-foreground: oklch(0.277 0.01 248.206);
  --destructive: oklch(0.515 0.16 38.389);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.572 0.167 253.516);
  --chart-1: oklch(0.572 0.167 253.516);
  --chart-2: oklch(0.892 0.001 247.836);
  --chart-3: oklch(0.81 0.012 247.976);
  --chart-4: oklch(0.915 0.001 247.832);
  --chart-5: oklch(0.574 0.172 253.888);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.009 240.323);
  --foreground: oklch(0.992 0.002 247.837);
  --muted: oklch(0.178 0.018 248.873);
  --muted-foreground: oklch(0.805 0.002 247.851);
  --popover: oklch(0.089 0.009 240.323);
  --popover-foreground: oklch(0.992 0.002 247.837);
  --card: oklch(0.112 0.012 240.323);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.01 248.199);
  --input: oklch(0.267 0.01 248.199);
  --primary: oklch(0.572 0.167 253.516);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.279 0.003 247.929);
  --secondary-foreground: oklch(0.813 0.003 247.864);
  --accent: oklch(0.348 0.012 248.163);
  --accent-foreground: oklch(0.867 0.007 247.905);
  --destructive: oklch(0.604 0.19 38.085);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.572 0.167 253.516);
  --chart-1: oklch(0.572 0.167 253.516);
  --chart-2: oklch(0.279 0.003 247.929);
  --chart-3: oklch(0.348 0.012 248.163);
  --chart-4: oklch(0.31 0.003 247.933);
  --chart-5: oklch(0.574 0.172 253.888);
}