Simply dark Clam is a shadcn/ui theme built around a muted blue primary color (#adbac7) with muted blue accents (#434d5b). The light mode uses a blue-tinted background (#23282f). Dark mode keeps the muted blue primary (#adbac7) on a blue-tinted background (#23282f).
| Token | Light | Dark |
|---|---|---|
| Background | #23282fdarkslategray | #23282fdarkslategray |
| Foreground | #adbac7silver | #adbac7silver |
| Card | #1e2329darkslategray | #1e2329darkslategray |
| Card foreground | #bcc7d2lightsteelblue | #bcc7d2lightsteelblue |
| Popover | #1c2026black | #1c2026black |
| Popover foreground | #cbd4dclightgrey | #cbd4dclightgrey |
| Primary | #adbac7silver | #adbac7silver |
| Primary foreground | #1b2127black | #1b2127black |
| Secondary | #3a4045darkslategray | #3a4045darkslategray |
| Secondary foreground | #d5d9dcgainsboro | #d5d9dcgainsboro |
| Muted | #2d3239darkslategray | #2d3239darkslategray |
| Muted foreground | #a9b1bcdarkgray | #a9b1bcdarkgray |
| Accent | #434d5bdarkslategray | #434d5bdarkslategray |
| Accent foreground | #e5e7eblavender | #e5e7eblavender |
| Destructive | #ec2913orangered | #ec2913orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #333538darkslategray | #333538darkslategray |
| Input | #3a3d40darkslategray | #3a3d40darkslategray |
| Ring | #adbac7silver | #adbac7silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.52:1 | AAA |
| Text on card | 9.22:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 6.91:1 | AA |
| Destructive | 4.29:1 | AA Large |
| Text on background | 7.52:1 | AAA |
| Text on card | 9.22:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 7.41:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 6.91:1 | AA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Simply dark Clam in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.274 0.015 256.797);
--foreground: oklch(0.783 0.024 248.13);
--muted: oklch(0.315 0.015 256.783);
--muted-foreground: oklch(0.758 0.018 256.732);
--popover: oklch(0.243 0.013 256.792);
--popover-foreground: oklch(0.865 0.015 247.995);
--card: oklch(0.254 0.014 256.794);
--card-foreground: oklch(0.824 0.019 248.059);
--border: oklch(0.328 0.006 256.721);
--input: oklch(0.358 0.007 256.722);
--primary: oklch(0.783 0.024 248.13);
--primary-foreground: oklch(0.245 0.015 248.446);
--secondary: oklch(0.367 0.013 248.168);
--secondary-foreground: oklch(0.883 0.006 247.893);
--accent: oklch(0.417 0.026 256.807);
--accent-foreground: oklch(0.928 0.006 256.679);
--destructive: oklch(0.606 0.229 30.502);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.783 0.024 248.13);
--chart-1: oklch(0.783 0.024 248.13);
--chart-2: oklch(0.367 0.013 248.168);
--chart-3: oklch(0.417 0.026 256.807);
--chart-4: oklch(0.396 0.014 248.175);
--chart-5: oklch(0.782 0.027 248.177);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.274 0.015 256.797);
--foreground: oklch(0.783 0.024 248.13);
--muted: oklch(0.315 0.015 256.783);
--muted-foreground: oklch(0.758 0.018 256.732);
--popover: oklch(0.243 0.013 256.792);
--popover-foreground: oklch(0.865 0.015 247.995);
--card: oklch(0.254 0.014 256.794);
--card-foreground: oklch(0.824 0.019 248.059);
--border: oklch(0.328 0.006 256.721);
--input: oklch(0.358 0.007 256.722);
--primary: oklch(0.783 0.024 248.13);
--primary-foreground: oklch(0.245 0.015 248.446);
--secondary: oklch(0.367 0.013 248.168);
--secondary-foreground: oklch(0.883 0.006 247.893);
--accent: oklch(0.417 0.026 256.807);
--accent-foreground: oklch(0.928 0.006 256.679);
--destructive: oklch(0.606 0.229 30.502);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.783 0.024 248.13);
--chart-1: oklch(0.783 0.024 248.13);
--chart-2: oklch(0.367 0.013 248.168);
--chart-3: oklch(0.417 0.026 256.807);
--chart-4: oklch(0.396 0.014 248.175);
--chart-5: oklch(0.782 0.027 248.177);
}