Territorial Veteran’s Day Blue is a shadcn/ui theme built around a vivid blue primary color (#2f50e4) with vivid purple accents (#e42faa). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the vivid blue primary (#2f50e4) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #030407black |
| Foreground | #02040eblack | #ffffffwhite |
| Card | #f3f4fcaliceblue | #04060bblack |
| Card foreground | #010309black | #ffffffwhite |
| Popover | #f3f4fcaliceblue | #04060bblack |
| Popover foreground | #010309black | #ffffffwhite |
| Primary | #2f50e4royalblue | #2f50e4royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e42f50crimson | #e42f50crimson |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5dcddgainsboro | #231a1bblack |
| Muted foreground | #4c4345darkslategray | #bcb3b5silver |
| Accent | #e42faadeeppink | #50e42flimegreen |
| Accent foreground | #ffffffwhite | #123f08darkgreen |
| Destructive | #ae1a09firebrick | #f32812orangered |
| Destructive foreground | #feedeclinen | #ffffffwhite |
| Border | #dcdee4gainsboro | #1b1c23black |
| Input | #dcdee4gainsboro | #1b1c23black |
| Ring | #2f50e4royalblue | #2f50e4royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 18.84:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 4.34:1 | AA Large |
| Muted text | 7.09:1 | AAA |
| Accent | 3.96:1 | AA Large |
| Destructive | 6.26:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 4.34:1 | AA Large |
| Muted text | 8.30:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Territorial Veteran’s Day Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 276.074);
--foreground: oklch(0.109 0.028 265.167);
--muted: oklch(0.901 0.011 4.634);
--muted-foreground: oklch(0.393 0.012 5.109);
--popover: oklch(0.969 0.01 276.025);
--popover-foreground: oklch(0.095 0.024 264.875);
--card: oklch(0.969 0.01 276.025);
--card-foreground: oklch(0.095 0.024 264.875);
--border: oklch(0.901 0.009 276.035);
--input: oklch(0.901 0.009 276.035);
--primary: oklch(0.51 0.225 267.359);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.603 0.213 17.147);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.631 0.24 344.801);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.483 0.184 30.483);
--destructive-foreground: oklch(0.96 0.018 25.153);
--ring: oklch(0.51 0.225 267.359);
--chart-1: oklch(0.51 0.225 267.359);
--chart-2: oklch(0.603 0.213 17.147);
--chart-3: oklch(0.631 0.24 344.801);
--chart-4: oklch(0.619 0.204 15.418);
--chart-5: oklch(0.508 0.233 266.991);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.013 271.343);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.016 6.111);
--muted-foreground: oklch(0.775 0.01 4.652);
--popover: oklch(0.12 0.014 271.377);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.12 0.014 271.377);
--card-foreground: oklch(1 0 180);
--border: oklch(0.228 0.013 275.365);
--input: oklch(0.228 0.013 275.365);
--primary: oklch(0.51 0.225 267.359);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.603 0.213 17.147);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.809 0.245 140.644);
--accent-foreground: oklch(0.325 0.096 140.492);
--destructive: oklch(0.618 0.235 30.481);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.51 0.225 267.359);
--chart-1: oklch(0.51 0.225 267.359);
--chart-2: oklch(0.603 0.213 17.147);
--chart-3: oklch(0.809 0.245 140.644);
--chart-4: oklch(0.619 0.204 15.418);
--chart-5: oklch(0.508 0.233 266.991);
}