Bureau for shadcn/ui

Bureau is a shadcn/ui theme built around a vivid deep blue primary color (#01131d) with neutral gray accents (#c2bcbc). The light mode uses a neutral background (#f6fbfd). Dark mode keeps the vivid deep blue primary (#01131d) on a blue-tinted background (#04090b).

Color palette

TokenLightDark
Background
#f6fbfdghostwhite
#04090bblack
Foreground
#040f15black
#f5f8fawhitesmoke
Card
#f6fbfdghostwhite
#04090bblack
Card foreground
#040f15black
#f5f8fawhitesmoke
Popover
#f6fbfdghostwhite
#04090bblack
Popover foreground
#040f15black
#f5f8fawhitesmoke
Primary
#01131dblack
#01131dblack
Primary foreground
#59c0f7cornflowerblue
#59c0f7cornflowerblue
Secondary
#d4d4d4lightgrey
#2c3235darkslategray
Secondary foreground
#3b3b3bdarkslategray
#c4cbcflightgrey
Muted
#f4f1f1whitesmoke
#0b0d0eblack
Muted foreground
#695959dimgray
#96a0a6darkgray
Accent
#c2bcbcsilver
#3b4b54darkslategray
Accent foreground
#282424darkslategray
#dbe2e6gainsboro
Destructive
#911d03darkred
#fb5732tomato
Destructive foreground
#fed2c8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#01131dblack
#01131dblack

Contrast

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

Light mode
Text on background18.58:1AAA
Text on card18.58:1AAA
Primary button9.23:1AAA
Secondary button7.53:1AAA
Muted text5.87:1AA
Accent8.20:1AAA
Destructive6.41:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button9.23:1AAA
Secondary button7.93:1AAA
Muted text7.29:1AAA
Accent6.89:1AA
Destructive6.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 230.741);
  --foreground: oklch(0.162 0.022 230.771);
  --muted: oklch(0.959 0.004 17.219);
  --muted-foreground: oklch(0.48 0.02 17.883);
  --popover: oklch(0.985 0.006 230.741);
  --popover-foreground: oklch(0.162 0.022 230.771);
  --card: oklch(0.985 0.006 230.741);
  --card-foreground: oklch(0.162 0.022 230.771);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.178 0.033 232.085);
  --primary-foreground: oklch(0.769 0.123 235.128);
  --secondary: oklch(0.869 0 165.964);
  --secondary-foreground: oklch(0.351 0 167.471);
  --accent: oklch(0.801 0.007 17.307);
  --accent-foreground: oklch(0.266 0.006 17.519);
  --destructive: oklch(0.428 0.155 33.124);
  --destructive-foreground: oklch(0.898 0.052 32.791);
  --ring: oklch(0.178 0.033 232.085);
  --chart-1: oklch(0.178 0.033 232.085);
  --chart-2: oklch(0.869 0 165.964);
  --chart-3: oklch(0.801 0.007 17.307);
  --chart-4: oklch(0.892 0 180);
  --chart-5: oklch(0.178 0.034 232.04);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.011 225.619);
  --foreground: oklch(0.977 0.004 230.711);
  --muted: oklch(0.158 0.004 231.057);
  --muted-foreground: oklch(0.701 0.014 230.943);
  --popover: oklch(0.133 0.011 225.619);
  --popover-foreground: oklch(0.977 0.004 230.711);
  --card: oklch(0.133 0.011 225.619);
  --card-foreground: oklch(0.977 0.004 230.711);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.178 0.033 232.085);
  --primary-foreground: oklch(0.769 0.123 235.128);
  --secondary: oklch(0.312 0.011 231.167);
  --secondary-foreground: oklch(0.838 0.009 230.813);
  --accent: oklch(0.403 0.026 231.74);
  --accent-foreground: oklch(0.909 0.009 230.802);
  --destructive: oklch(0.673 0.206 34.052);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.178 0.033 232.085);
  --chart-1: oklch(0.178 0.033 232.085);
  --chart-2: oklch(0.312 0.011 231.167);
  --chart-3: oklch(0.403 0.026 231.74);
  --chart-4: oklch(0.342 0.012 231.184);
  --chart-5: oklch(0.178 0.034 232.04);
}