Brandeis Blue Hippopotamus for shadcn/ui

Brandeis Blue Hippopotamus is a shadcn/ui theme built around a vivid blue primary color (#0d6dfd) with muted light blue accents (#c5cdd8). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the vivid blue primary (#0d6dfd) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#020508black
Foreground
#010204black
#ffffffwhite
Card
#f7f9fdghostwhite
#020508black
Card foreground
#010204black
#ffffffwhite
Popover
#f7f9fdghostwhite
#020508black
Popover foreground
#010204black
#ffffffwhite
Primary
#0d6dfddodgerblue
#0d6dfddodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dde0e4gainsboro
#242629darkslategray
Secondary foreground
#40464fdarkslategray
#bbbec4silver
Muted
#d7dae0gainsboro
#1f2328darkslategray
Muted foreground
#44474bdarkslategray
#b4b7bbsilver
Accent
#c5cdd8lightgrey
#2e343ddarkslategray
Accent foreground
#2b3440darkslategray
#c8cdd5lightgrey
Destructive
#9f0909darkred
#f11313red
Destructive foreground
#fdddddmistyrose
#ffffffwhite
Border
#e2e3e4gainsboro
#242628darkslategray
Input
#e2e3e4gainsboro
#242628darkslategray
Ring
#0d6dfddodgerblue
#0d6dfddodgerblue

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button4.56:1AA
Secondary button7.17:1AAA
Muted text6.68:1AA
Accent7.84:1AAA
Destructive6.57:1AA
Dark mode
Text on background20.46:1AAA
Text on card20.46:1AAA
Primary button4.56:1AA
Secondary button8.17:1AAA
Muted text7.85:1AAA
Accent7.84:1AAA
Destructive4.32:1AA Large

CSS variables

Paste this into your globals.css to use Brandeis Blue Hippopotamus in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 258.328);
  --foreground: oklch(0.085 0.014 246.92);
  --muted: oklch(0.888 0.009 258.336);
  --muted-foreground: oklch(0.396 0.008 258.355);
  --popover: oklch(0.982 0.006 258.328);
  --popover-foreground: oklch(0.085 0.014 246.92);
  --card: oklch(0.982 0.006 258.328);
  --card-foreground: oklch(0.085 0.014 246.92);
  --border: oklch(0.914 0.003 258.32);
  --input: oklch(0.914 0.003 258.32);
  --primary: oklch(0.575 0.229 260.208);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.905 0.006 258.33);
  --secondary-foreground: oklch(0.391 0.018 258.372);
  --accent: oklch(0.845 0.017 258.355);
  --accent-foreground: oklch(0.321 0.025 258.36);
  --destructive: oklch(0.445 0.177 28.598);
  --destructive-foreground: oklch(0.925 0.035 17.807);
  --ring: oklch(0.575 0.229 260.208);
  --chart-1: oklch(0.575 0.229 260.208);
  --chart-2: oklch(0.905 0.006 258.33);
  --chart-3: oklch(0.845 0.017 258.355);
  --chart-4: oklch(0.929 0.005 258.325);
  --chart-5: oklch(0.576 0.235 260.419);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.012 250.624);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.254 0.012 258.372);
  --muted-foreground: oklch(0.778 0.007 258.334);
  --popover: oklch(0.109 0.012 250.624);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.012 250.624);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.267 0.005 258.351);
  --input: oklch(0.267 0.005 258.351);
  --primary: oklch(0.575 0.229 260.208);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.267 0.007 258.361);
  --secondary-foreground: oklch(0.801 0.009 258.338);
  --accent: oklch(0.323 0.018 258.371);
  --accent-foreground: oklch(0.847 0.013 258.346);
  --destructive: oklch(0.607 0.242 28.658);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.575 0.229 260.208);
  --chart-1: oklch(0.575 0.229 260.208);
  --chart-2: oklch(0.267 0.007 258.361);
  --chart-3: oklch(0.323 0.018 258.371);
  --chart-4: oklch(0.297 0.008 258.362);
  --chart-5: oklch(0.576 0.235 260.419);
}