Qualified Black Beauty is a shadcn/ui theme built around a muted deep blue primary color (#23282e) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep blue primary (#23282e) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #23282edarkslategray | #23282edarkslategray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #181c20black | #181c20black |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #0d0f11black | #0d0f11black |
| Primary | #23282edarkslategray | #23282edarkslategray |
| Primary foreground | #bac1casilver | #bac1casilver |
| Secondary | #bdbfc1silver | #bdbfc1silver |
| Secondary foreground | #252627darkslategray | #252627darkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #b81414firebrick | #b81414firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #23282edarkslategray | #23282edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.84:1 | AAA |
| Text on card | 16.39:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 14.84:1 | AAA |
| Text on card | 16.39:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.68:1 | AA |
Paste this into your globals.css to use Qualified Black Beauty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.276 0.013 253.491);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.168 0.005 253.418);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.223 0.009 253.466);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.276 0.013 253.491);
--primary-foreground: oklch(0.808 0.015 253.337);
--secondary: oklch(0.804 0.004 253.249);
--secondary-foreground: oklch(0.269 0.003 253.289);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.498 0.194 28.098);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.276 0.013 253.491);
--chart-1: oklch(0.276 0.013 253.491);
--chart-2: oklch(0.804 0.004 253.249);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.828 0.003 253.245);
--chart-5: oklch(0.275 0.016 253.545);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.276 0.013 253.491);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.168 0.005 253.418);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.223 0.009 253.466);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.276 0.013 253.491);
--primary-foreground: oklch(0.808 0.015 253.337);
--secondary: oklch(0.804 0.004 253.249);
--secondary-foreground: oklch(0.269 0.003 253.289);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.498 0.194 28.098);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.276 0.013 253.491);
--chart-1: oklch(0.276 0.013 253.491);
--chart-2: oklch(0.804 0.004 253.249);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.828 0.003 253.245);
--chart-5: oklch(0.275 0.016 253.545);
}