Navy Trim Baboon is a shadcn/ui theme built around a deep blue primary color (#203760) with muted light blue accents (#c8cfda). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#203760) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030507black |
| Foreground | #020408black | #f6f7f9whitesmoke |
| Card | #fcfcfcsnow | #05070ablack |
| Card foreground | #010204black | #f9fafbghostwhite |
| Popover | #fcfcfcsnow | #05070ablack |
| Popover foreground | #010204black | #f9fafbghostwhite |
| Primary | #203760darkslategray | #203760darkslategray |
| Primary foreground | #c6d4ecpowderblue | #c6d4ecpowderblue |
| Secondary | #dddfe4gainsboro | #1d2025black |
| Secondary foreground | #3f4550darkslategray | #b1b8c3silver |
| Muted | #e8ecf3lavender | #0c1017black |
| Muted foreground | #464d59darkslategray | #a6adb9darkgray |
| Accent | #c8cfdalightgrey | #272e3adarkslategray |
| Accent foreground | #2d3543darkslategray | #bfc7d4lightsteelblue |
| Destructive | #8b210edarkred | #e93a1corangered |
| Destructive foreground | #fad7d1bisque | #ffffffwhite |
| Border | #e3e5e8gainsboro | #22252adarkslategray |
| Input | #e3e5e8gainsboro | #22252adarkslategray |
| Ring | #203760darkslategray | #203760darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 8.17:1 | AAA |
| Muted text | 8.41:1 | AAA |
| Accent | 8.01:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Navy Trim Baboon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.107 0.014 252.904);
--muted: oklch(0.941 0.01 261.509);
--muted-foreground: oklch(0.417 0.022 261.415);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.085 0.011 252.904);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.085 0.011 252.904);
--border: oklch(0.921 0.005 261.512);
--input: oklch(0.921 0.005 261.512);
--primary: oklch(0.341 0.077 260.64);
--primary-foreground: oklch(0.866 0.037 261.446);
--secondary: oklch(0.904 0.007 261.511);
--secondary-foreground: oklch(0.389 0.02 261.417);
--accent: oklch(0.852 0.017 261.498);
--accent-foreground: oklch(0.328 0.026 261.309);
--destructive: oklch(0.421 0.145 32.28);
--destructive-foreground: oklch(0.907 0.041 29.692);
--ring: oklch(0.341 0.077 260.64);
--chart-1: oklch(0.341 0.077 260.64);
--chart-2: oklch(0.904 0.007 261.511);
--chart-3: oklch(0.852 0.017 261.498);
--chart-4: oklch(0.928 0.005 261.512);
--chart-5: oklch(0.34 0.082 260.597);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.008 257.156);
--foreground: oklch(0.976 0.003 261.513);
--muted: oklch(0.174 0.016 261.27);
--muted-foreground: oklch(0.747 0.019 261.488);
--popover: oklch(0.127 0.009 257.156);
--popover-foreground: oklch(0.984 0.002 261.514);
--card: oklch(0.127 0.009 257.156);
--card-foreground: oklch(0.984 0.002 261.514);
--border: oklch(0.264 0.011 261.45);
--input: oklch(0.264 0.011 261.45);
--primary: oklch(0.341 0.077 260.64);
--primary-foreground: oklch(0.866 0.037 261.446);
--secondary: oklch(0.243 0.011 261.433);
--secondary-foreground: oklch(0.78 0.018 261.493);
--accent: oklch(0.3 0.023 261.32);
--accent-foreground: oklch(0.827 0.02 261.491);
--destructive: oklch(0.613 0.214 32.224);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0.077 260.64);
--chart-1: oklch(0.341 0.077 260.64);
--chart-2: oklch(0.243 0.011 261.433);
--chart-3: oklch(0.3 0.023 261.32);
--chart-4: oklch(0.273 0.014 261.424);
--chart-5: oklch(0.34 0.082 260.597);
}