Actual Old Glory Blue is a shadcn/ui theme built around a vivid deep blue primary color (#03286d) with muted light blue accents (#ced2d9). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid deep blue primary (#03286d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f8f9fcghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #03286dmidnightblue | #03286dmidnightblue |
| Primary foreground | #a5c4fdlightblue | #a5c4fdlightblue |
| Secondary | #e4e5e7gainsboro | #141415black |
| Secondary foreground | #484b51darkslategray | #aaacb1darkgray |
| Muted | #d4d7ddgainsboro | #22252bdarkslategray |
| Muted foreground | #5a5f68dimgray | #979ca5darkgray |
| Accent | #ced2d9lightgrey | #21252bdarkslategray |
| Accent foreground | #333842darkslategray | #b7bdc8silver |
| Destructive | #d24314chocolate | #ec6436tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #ecedefwhitesmoke | #202327darkslategray |
| Input | #ecedefwhitesmoke | #202327darkslategray |
| Ring | #03286dmidnightblue | #03286dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.49:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 4.46:1 | AA Large |
| Accent | 7.75:1 | AAA |
| Destructive | 4.60:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 8.16:1 | AAA |
| Destructive | 6.44:1 | AA |
Paste this into your globals.css to use Actual Old Glory Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 263.051);
--foreground: oklch(0 0 0);
--muted: oklch(0.88 0.009 263.034);
--muted-foreground: oklch(0.484 0.015 262.969);
--popover: oklch(0.983 0.003 263.048);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.003 263.048);
--card-foreground: oklch(0 0 0);
--border: oklch(0.945 0.003 263.048);
--input: oklch(0.945 0.003 263.048);
--primary: oklch(0.305 0.127 261.3);
--primary-foreground: oklch(0.818 0.087 262.568);
--secondary: oklch(0.922 0.003 263.048);
--secondary-foreground: oklch(0.412 0.011 262.988);
--accent: oklch(0.863 0.011 263.028);
--accent-foreground: oklch(0.341 0.019 262.865);
--destructive: oklch(0.583 0.187 36.599);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.305 0.127 261.3);
--chart-1: oklch(0.305 0.127 261.3);
--chart-2: oklch(0.922 0.003 263.048);
--chart-3: oklch(0.863 0.011 263.028);
--chart-4: oklch(0.945 0.002 263.05);
--chart-5: oklch(0.305 0.131 261.206);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 263.052);
--muted: oklch(0.263 0.012 262.909);
--muted-foreground: oklch(0.692 0.014 263.007);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.254 0.009 262.962);
--input: oklch(0.254 0.009 262.962);
--primary: oklch(0.305 0.127 261.3);
--primary-foreground: oklch(0.818 0.087 262.568);
--secondary: oklch(0.192 0.002 263.03);
--secondary-foreground: oklch(0.745 0.007 263.037);
--accent: oklch(0.263 0.013 262.891);
--accent-foreground: oklch(0.796 0.017 263.006);
--destructive: oklch(0.667 0.179 38.293);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.305 0.127 261.3);
--chart-1: oklch(0.305 0.127 261.3);
--chart-2: oklch(0.192 0.002 263.03);
--chart-3: oklch(0.263 0.013 262.891);
--chart-4: oklch(0.225 0.003 263.026);
--chart-5: oklch(0.305 0.131 261.206);
}