Veteran’s Day Blue Ptarmigan 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 (#010102).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #010102black |
| Foreground | #02040eblack | #ffffffwhite |
| Card | #f3f4fcaliceblue | #1b1b1bblack |
| Card foreground | #010309black | #ffffffwhite |
| Popover | #f3f4fcaliceblue | #020305black |
| Popover foreground | #010309black | #ffffffwhite |
| Primary | #2f50e4royalblue | #2f50e4royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e42f50crimson | #e42f50crimson |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5dcddgainsboro | #5c1e29maroon |
| Muted foreground | #4c4345darkslategray | #bcb3b5silver |
| Accent | #e42faadeeppink | #ffcb48sandybrown |
| Accent foreground | #ffffffwhite | #1a1a1ablack |
| Destructive | #ae1a09firebrick | #f32812orangered |
| Destructive foreground | #feedeclinen | #ffffffwhite |
| Border | #dcdee4gainsboro | #2d303ddarkslategray |
| Input | #dcdee4gainsboro | #4b5271darkslateblue |
| 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.89:1 | AAA |
| Text on card | 17.14:1 | AAA |
| Primary button | 6.16:1 | AA |
| Secondary button | 4.34:1 | AA Large |
| Muted text | 6.12:1 | AA |
| Accent | 11.51:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Veteran’s Day Blue Ptarmigan 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.064 0.01 269.656);
--foreground: oklch(1 0 180);
--muted: oklch(0.335 0.091 12.484);
--muted-foreground: oklch(0.775 0.01 4.652);
--popover: oklch(0.096 0.009 272.485);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.224 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.31 0.024 275.007);
--input: oklch(0.444 0.052 274.334);
--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.866 0.154 86.477);
--accent-foreground: oklch(0.22 0 187.595);
--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.866 0.154 86.477);
--chart-4: oklch(0.619 0.204 15.418);
--chart-5: oklch(0.508 0.233 266.991);
}