Atlantic Navy Narwhal is a shadcn/ui theme built around a vivid deep blue primary color (#0f3670) with vivid deep green accents (#36700f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep blue primary (#0f3670) on a blue-tinted background (#05070b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05070bblack |
| Foreground | #010409black | #f9fafbghostwhite |
| Card | #ffffffwhite | #05070bblack |
| Card foreground | #010409black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #05070bblack |
| Popover foreground | #010409black | #f9fafbghostwhite |
| Primary | #0f3670midnightblue | #0f3670midnightblue |
| Primary foreground | #bcd3f6lightblue | #bcd3f6lightblue |
| Secondary | #700f36maroon | #700f36maroon |
| Secondary foreground | #f6bcd3pink | #f6bcd3pink |
| Muted | #ede9ealinen | #161214black |
| Muted foreground | #6b6165dimgray | #9e9498darkgray |
| Accent | #36700fforestgreen | #36700fforestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7e2c0csaddlebrown | #ec6a36tomato |
| Destructive foreground | #f9d2c2peachpuff | #000000black |
| Border | #e6e8ealavender | #191b1fblack |
| Input | #e6e8ealavender | #191b1fblack |
| Ring | #0f3670midnightblue | #0f3670midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 4.93:1 | AA |
| Accent | 6.01:1 | AA |
| Destructive | 6.66:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 6.29:1 | AA |
| Accent | 6.01:1 | AA |
| Destructive | 6.69:1 | AA |
Paste this into your globals.css to use Atlantic Navy Narwhal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.106 0.018 246.564);
--muted: oklch(0.936 0.005 350.771);
--muted-foreground: oklch(0.503 0.014 351.418);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.106 0.018 246.564);
--card: oklch(1 0 180);
--card-foreground: oklch(0.106 0.018 246.564);
--border: oklch(0.929 0.004 258.324);
--input: oklch(0.929 0.004 258.324);
--primary: oklch(0.343 0.11 258.895);
--primary-foreground: oklch(0.861 0.055 258.368);
--secondary: oklch(0.361 0.132 3.499);
--secondary-foreground: oklch(0.853 0.073 352.92);
--accent: oklch(0.487 0.138 136.466);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.41 0.121 39.258);
--destructive-foreground: oklch(0.893 0.049 42.731);
--ring: oklch(0.343 0.11 258.895);
--chart-1: oklch(0.343 0.11 258.895);
--chart-2: oklch(0.361 0.132 3.499);
--chart-3: oklch(0.487 0.138 136.466);
--chart-4: oklch(0.391 0.144 3.803);
--chart-5: oklch(0.343 0.113 259.021);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.01 252.994);
--foreground: oklch(0.984 0.002 258.319);
--muted: oklch(0.19 0.007 351.696);
--muted-foreground: oklch(0.676 0.013 351.175);
--popover: oklch(0.127 0.01 252.994);
--popover-foreground: oklch(0.984 0.002 258.319);
--card: oklch(0.127 0.01 252.994);
--card-foreground: oklch(0.984 0.002 258.319);
--border: oklch(0.223 0.007 258.368);
--input: oklch(0.223 0.007 258.368);
--primary: oklch(0.343 0.11 258.895);
--primary-foreground: oklch(0.861 0.055 258.368);
--secondary: oklch(0.361 0.132 3.499);
--secondary-foreground: oklch(0.853 0.073 352.92);
--accent: oklch(0.487 0.138 136.466);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.676 0.174 40.681);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.343 0.11 258.895);
--chart-1: oklch(0.343 0.11 258.895);
--chart-2: oklch(0.361 0.132 3.499);
--chart-3: oklch(0.487 0.138 136.466);
--chart-4: oklch(0.391 0.144 3.803);
--chart-5: oklch(0.343 0.113 259.021);
}