Simple Dark is a shadcn/ui theme built around a vivid cyan primary color (#00bfff) with muted blue accents (#464d53). The light mode uses a blue-tinted background (#232629). Dark mode keeps the vivid cyan primary (#00bfff) on a blue-tinted background (#232629).
| Token | Light | Dark |
|---|---|---|
| Background | #232629darkslategray | #232629darkslategray |
| Foreground | #dededegainsboro | #dededegainsboro |
| Card | #1e2124black | #1e2124black |
| Card foreground | #ebebeblinen | #ebebeblinen |
| Popover | #1c1f21black | #1c1f21black |
| Popover foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Primary | #00bfffdeepskyblue | #00bfffdeepskyblue |
| Primary foreground | #002633black | #002633black |
| Secondary | #2d4953darkslategray | #2d4953darkslategray |
| Secondary foreground | #cddee4gainsboro | #cddee4gainsboro |
| Muted | #2b3036darkslategray | #2b3036darkslategray |
| Muted foreground | #a6b0b9darkgray | #a6b0b9darkgray |
| Accent | #464d53darkslategray | #464d53darkslategray |
| Accent foreground | #e3e5e8gainsboro | #e3e5e8gainsboro |
| Destructive | #f0553dtomato | #f0553dtomato |
| Destructive foreground | #000000black | #000000black |
| Border | #333333darkslategray | #333333darkslategray |
| Input | #3b3b3bdarkslategray | #3b3b3bdarkslategray |
| Ring | #00bfffdeepskyblue | #00bfffdeepskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.26:1 | AAA |
| Text on card | 13.53:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 6.01:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 6.06:1 | AA |
| Text on background | 11.26:1 | AAA |
| Text on card | 13.53:1 | AAA |
| Primary button | 7.48:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 6.01:1 | AA |
| Accent | 6.83:1 | AA |
| Destructive | 6.06:1 | AA |
Paste this into your globals.css to use Simple Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.268 0.007 248.098);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.308 0.013 248.257);
--muted-foreground: oklch(0.753 0.017 248.058);
--popover: oklch(0.236 0.006 248.081);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.247 0.006 248.087);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.756 0.153 231.503);
--primary-foreground: oklch(0.251 0.048 225.292);
--secondary: oklch(0.388 0.038 221.061);
--secondary-foreground: oklch(0.891 0.02 219.695);
--accent: oklch(0.415 0.013 248.14);
--accent-foreground: oklch(0.922 0.004 247.862);
--destructive: oklch(0.655 0.196 31.419);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.756 0.153 231.503);
--chart-1: oklch(0.756 0.153 231.503);
--chart-2: oklch(0.388 0.038 221.061);
--chart-3: oklch(0.415 0.013 248.14);
--chart-4: oklch(0.419 0.042 221.108);
--chart-5: oklch(0.762 0.156 231.962);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.268 0.007 248.098);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.308 0.013 248.257);
--muted-foreground: oklch(0.753 0.017 248.058);
--popover: oklch(0.236 0.006 248.081);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.247 0.006 248.087);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.321 0 180);
--input: oklch(0.351 0 167.471);
--primary: oklch(0.756 0.153 231.503);
--primary-foreground: oklch(0.251 0.048 225.292);
--secondary: oklch(0.388 0.038 221.061);
--secondary-foreground: oklch(0.891 0.02 219.695);
--accent: oklch(0.415 0.013 248.14);
--accent-foreground: oklch(0.922 0.004 247.862);
--destructive: oklch(0.655 0.196 31.419);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.756 0.153 231.503);
--chart-1: oklch(0.756 0.153 231.503);
--chart-2: oklch(0.388 0.038 221.061);
--chart-3: oklch(0.415 0.013 248.14);
--chart-4: oklch(0.419 0.042 221.108);
--chart-5: oklch(0.762 0.156 231.962);
}