Brandeis Blue Roundworm for shadcn/ui

Brandeis Blue Roundworm is a shadcn/ui theme built around a vivid blue primary color (#316ef2) with vivid indigo accents (#5431f2). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the vivid blue primary (#316ef2) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#010204black
Foreground
#000000black
#f9fafbghostwhite
Card
#f3f6fcaliceblue
#030407black
Card foreground
#000000black
#fcfcfdwhite
Popover
#f7f9fdghostwhite
#010204black
Popover foreground
#000000black
#f9fafbghostwhite
Primary
#316ef2royalblue
#316ef2royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#31cef2turquoise
#31cef2turquoise
Secondary foreground
#000000black
#000000black
Muted
#e9ebeclavender
#131516black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#5431f2blueviolet
#5431f2blueviolet
Accent foreground
#f3f1fealiceblue
#f3f1fealiceblue
Destructive
#d71904red
#fb422dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e8e9lavender
#1b1c1dblack
Input
#e7e8e9lavender
#1b1c1dblack
Ring
#316ef2royalblue
#316ef2royalblue

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.35:1AAA
Primary button4.52:1AA
Secondary button11.28:1AAA
Muted text5.43:1AA
Accent6.07:1AA
Destructive5.20:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.96:1AAA
Primary button4.52:1AA
Secondary button11.28:1AAA
Muted text7.08:1AAA
Accent6.07:1AA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 265.98);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.94 0.002 212.663);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.981 0.006 265.98);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.972 0.009 265.966);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.93 0.001 266);
  --input: oklch(0.93 0.001 266);
  --primary: oklch(0.576 0.208 262.875);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.79 0.132 217.413);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.501 0.263 279.513);
  --accent-foreground: oklch(0.963 0.018 294.474);
  --destructive: oklch(0.559 0.219 30.364);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.208 262.875);
  --chart-1: oklch(0.576 0.208 262.875);
  --chart-2: oklch(0.79 0.132 217.413);
  --chart-3: oklch(0.501 0.263 279.513);
  --chart-4: oklch(0.801 0.128 216.503);
  --chart-5: oklch(0.576 0.215 262.82);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.008 260.379);
  --foreground: oklch(0.984 0.002 265.998);
  --muted: oklch(0.195 0.003 212.686);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.086 0.008 260.379);
  --popover-foreground: oklch(0.984 0.002 265.998);
  --card: oklch(0.109 0.011 260.379);
  --card-foreground: oklch(0.992 0.001 266.002);
  --border: oklch(0.225 0.002 265.958);
  --input: oklch(0.225 0.002 265.958);
  --primary: oklch(0.576 0.208 262.875);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.79 0.132 217.413);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.501 0.263 279.513);
  --accent-foreground: oklch(0.963 0.018 294.474);
  --destructive: oklch(0.652 0.224 30.325);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.208 262.875);
  --chart-1: oklch(0.576 0.208 262.875);
  --chart-2: oklch(0.79 0.132 217.413);
  --chart-3: oklch(0.501 0.263 279.513);
  --chart-4: oklch(0.801 0.128 216.503);
  --chart-5: oklch(0.576 0.215 262.82);
}