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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 4.56:1 | AA |
| Secondary button | 7.17:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 20.46:1 | AAA |
| Text on card | 20.46:1 | AAA |
| Primary button | 4.56:1 | AA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 7.85:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 4.32:1 | AA Large |
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);
}