Funny USAFA Blue is a shadcn/ui theme built around a vivid blue primary color (#004f99) with muted blue accents (#aabbca). The light mode uses a neutral background (#f8fafc). Dark mode keeps the vivid blue primary (#004f99) on a blue-tinted background (#040a10).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafcghostwhite | #040a10black |
| Foreground | #040a10black | #f8fafcghostwhite |
| Card | #f4f7fawhitesmoke | #050d14black |
| Card foreground | #03080cblack | #fbfcfdwhite |
| Popover | #f8fafcghostwhite | #040a10black |
| Popover foreground | #040a10black | #f8fafcghostwhite |
| Primary | #004f99teal | #004f99teal |
| Primary foreground | #cce6fflavender | #cce6fflavender |
| Secondary | #ced4dalightgrey | #131416black |
| Secondary foreground | #323b43darkslategray | #a9aeb2darkgray |
| Muted | #eff2f6whitesmoke | #090d10black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #aabbcalightsteelblue | #23292edarkslategray |
| Accent foreground | #1a2129black | #bac2casilver |
| Destructive | #b71b10firebrick | #ec3427crimson |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #ecedeewhitesmoke | #212426darkslategray |
| Input | #ecedeewhitesmoke | #212426darkslategray |
| Ring | #004f99teal | #004f99teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.99:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 8.23:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 6.32:1 | AA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.73:1 | AAA |
| Accent | 8.15:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Funny USAFA Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.003 246.007);
--foreground: oklch(0.142 0.017 242.233);
--muted: oklch(0.96 0.006 246.04);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.984 0.003 246.007);
--popover-foreground: oklch(0.142 0.017 242.233);
--card: oklch(0.976 0.005 246.028);
--card-foreground: oklch(0.129 0.014 238.661);
--border: oklch(0.946 0.002 245.993);
--input: oklch(0.946 0.002 245.993);
--primary: oklch(0.432 0.138 254.118);
--primary-foreground: oklch(0.914 0.044 246.512);
--secondary: oklch(0.866 0.011 246.107);
--secondary-foreground: oklch(0.347 0.018 246.556);
--accent: oklch(0.783 0.028 246.378);
--accent-foreground: oklch(0.245 0.018 246.822);
--destructive: oklch(0.5 0.19 29.66);
--destructive-foreground: oklch(0.99 0.004 22.263);
--ring: oklch(0.432 0.138 254.118);
--chart-1: oklch(0.432 0.138 254.118);
--chart-2: oklch(0.866 0.011 246.107);
--chart-3: oklch(0.783 0.028 246.378);
--chart-4: oklch(0.89 0.009 246.079);
--chart-5: oklch(0.433 0.141 254.377);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.018 241.983);
--foreground: oklch(0.984 0.003 246.007);
--muted: oklch(0.156 0.01 246.529);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.142 0.018 241.983);
--popover-foreground: oklch(0.984 0.003 246.007);
--card: oklch(0.154 0.021 244.857);
--card-foreground: oklch(0.992 0.002 245.986);
--border: oklch(0.258 0.006 246.229);
--input: oklch(0.258 0.006 246.229);
--primary: oklch(0.432 0.138 254.118);
--primary-foreground: oklch(0.914 0.044 246.512);
--secondary: oklch(0.192 0.003 246.152);
--secondary-foreground: oklch(0.747 0.009 246.103);
--accent: oklch(0.278 0.012 246.47);
--accent-foreground: oklch(0.81 0.014 246.167);
--destructive: oklch(0.616 0.221 29.264);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.432 0.138 254.118);
--chart-1: oklch(0.432 0.138 254.118);
--chart-2: oklch(0.192 0.003 246.152);
--chart-3: oklch(0.278 0.012 246.47);
--chart-4: oklch(0.226 0.004 246.176);
--chart-5: oklch(0.433 0.141 254.377);
}