Tall Bucolic Blue for shadcn/ui

Tall Bucolic Blue is a shadcn/ui theme built around a muted cyan primary color (#9cadb0) with near-white accents (#eaebeb). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the muted cyan primary (#9cadb0) on a cyan-tinted background (#040a0b).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#040a0bblack
Foreground
#000000black
#fcfdfdwhite
Card
#f4fafamintcream
#060d0fblack
Card foreground
#000000black
#ffffffwhite
Popover
#f4fafamintcream
#060d0fblack
Popover foreground
#000000black
#ffffffwhite
Primary
#9cadb0darkgray
#9cadb0darkgray
Primary foreground
#0b0e0eblack
#0b0e0eblack
Secondary
#eaebeblavender
#131a1bblack
Secondary foreground
#515252darkslategray
#a3babddarkgray
Muted
#dbe0e1gainsboro
#1e2324black
Muted foreground
#3e4647darkslategray
#b8c0c1silver
Accent
#eaebeblavender
#131a1bblack
Accent foreground
#515252darkslategray
#a3babddarkgray
Destructive
#8e300bsaddlebrown
#e84e11orangered
Destructive foreground
#fbdcd0bisque
#ffffffwhite
Border
#eceeefwhitesmoke
#1a1e1eblack
Input
#eceeefwhitesmoke
#1a1e1eblack
Ring
#9cadb0darkgray
#9cadb0darkgray

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card19.87:1AAA
Primary button8.31:1AAA
Secondary button6.55:1AA
Muted text7.25:1AAA
Accent6.55:1AA
Destructive6.29:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.55:1AAA
Primary button8.31:1AAA
Secondary button8.67:1AAA
Muted text8.55:1AAA
Accent8.67:1AAA
Destructive3.78:1AA Large

CSS variables

Paste this into your globals.css to use Tall Bucolic Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 207.916);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.903 0.006 207.906);
  --muted-foreground: oklch(0.386 0.011 207.845);
  --popover: oklch(0.98 0.006 207.908);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.006 207.908);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.948 0.003 207.921);
  --input: oklch(0.948 0.003 207.921);
  --primary: oklch(0.735 0.019 207.848);
  --primary-foreground: oklch(0.16 0.004 207.85);
  --secondary: oklch(0.939 0 207.932);
  --secondary-foreground: oklch(0.438 0.002 207.915);
  --accent: oklch(0.939 0 207.932);
  --accent-foreground: oklch(0.438 0.002 207.915);
  --destructive: oklch(0.444 0.135 38.722);
  --destructive-foreground: oklch(0.917 0.039 42.806);
  --ring: oklch(0.735 0.019 207.848);
  --chart-1: oklch(0.735 0.019 207.848);
  --chart-2: oklch(0.939 0 207.932);
  --chart-3: oklch(0.939 0 207.932);
  --chart-4: oklch(0.962 0 207.933);
  --chart-5: oklch(0.738 0.025 207.839);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.011 205.658);
  --foreground: oklch(0.993 0.001 207.928);
  --muted: oklch(0.253 0.008 207.842);
  --muted-foreground: oklch(0.802 0.009 207.888);
  --popover: oklch(0.153 0.013 207.055);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.013 207.055);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.23 0.006 207.849);
  --input: oklch(0.23 0.006 207.849);
  --primary: oklch(0.735 0.019 207.848);
  --primary-foreground: oklch(0.16 0.004 207.85);
  --secondary: oklch(0.211 0.01 207.842);
  --secondary-foreground: oklch(0.772 0.026 207.838);
  --accent: oklch(0.211 0.01 207.842);
  --accent-foreground: oklch(0.772 0.026 207.838);
  --destructive: oklch(0.632 0.2 38.005);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.735 0.019 207.848);
  --chart-1: oklch(0.735 0.019 207.848);
  --chart-2: oklch(0.211 0.01 207.842);
  --chart-3: oklch(0.211 0.01 207.842);
  --chart-4: oklch(0.246 0.013 207.85);
  --chart-5: oklch(0.738 0.025 207.839);
}