Okay Blunt is a shadcn/ui theme built around a muted blue primary color (#b1bac8) with muted indigo accents (#b4b1c8). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#b1bac8) on a blue-tinted background (#04070c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #04070cblack |
| Foreground | #04070cblack | #fbfcfdwhite |
| Card | #f7f9fdghostwhite | #050910black |
| Card foreground | #020408black | #ffffffwhite |
| Popover | #f7f9fdghostwhite | #050910black |
| Popover foreground | #020408black | #ffffffwhite |
| Primary | #b1bac8silver | #b1bac8silver |
| Primary foreground | #1e222adarkslategray | #1e222adarkslategray |
| Secondary | #b1c5c8silver | #b1c5c8silver |
| Secondary foreground | #1e282adarkslategray | #1e282adarkslategray |
| Muted | #e9f1f2whitesmoke | #0d1516black |
| Muted foreground | #374749darkslategray | #b6c6c8silver |
| Accent | #b4b1c8silver | #b4b1c8silver |
| Accent foreground | #1f1e2ablack | #1f1e2ablack |
| Destructive | #bb1e02firebrick | #fd3e1corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b1bac8silver | #b1bac8silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 8.15:1 | AAA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 8.45:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.38:1 | AA |
| Text on background | 19.67:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 8.15:1 | AAA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 10.45:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Okay Blunt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 259.937);
--foreground: oklch(0.125 0.015 252.607);
--muted: oklch(0.951 0.009 206.388);
--muted-foreground: oklch(0.384 0.02 206.255);
--popover: oklch(0.982 0.006 259.94);
--popover-foreground: oklch(0.109 0.013 252.276);
--card: oklch(0.982 0.006 259.94);
--card-foreground: oklch(0.109 0.013 252.276);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.787 0.022 259.943);
--primary-foreground: oklch(0.252 0.016 259.893);
--secondary: oklch(0.81 0.022 206.305);
--secondary-foreground: oklch(0.269 0.015 206.255);
--accent: oklch(0.771 0.032 290.987);
--accent-foreground: oklch(0.241 0.023 289.893);
--destructive: oklch(0.508 0.193 31.634);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.022 259.943);
--chart-1: oklch(0.787 0.022 259.943);
--chart-2: oklch(0.81 0.022 206.305);
--chart-3: oklch(0.771 0.032 290.987);
--chart-4: oklch(0.833 0.019 206.32);
--chart-5: oklch(0.785 0.026 259.939);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.014 252.745);
--foreground: oklch(0.991 0.002 259.936);
--muted: oklch(0.189 0.012 206.262);
--muted-foreground: oklch(0.815 0.018 206.328);
--popover: oklch(0.138 0.017 255.009);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.017 255.009);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.787 0.022 259.943);
--primary-foreground: oklch(0.252 0.016 259.893);
--secondary: oklch(0.81 0.022 206.305);
--secondary-foreground: oklch(0.269 0.015 206.255);
--accent: oklch(0.771 0.032 290.987);
--accent-foreground: oklch(0.241 0.023 289.893);
--destructive: oklch(0.651 0.231 32.157);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.022 259.943);
--chart-1: oklch(0.787 0.022 259.943);
--chart-2: oklch(0.81 0.022 206.305);
--chart-3: oklch(0.771 0.032 290.987);
--chart-4: oklch(0.833 0.019 206.32);
--chart-5: oklch(0.785 0.026 259.939);
}