Socialist Peek a Blue is a shadcn/ui theme built around a light teal primary color (#c2dfe0) with muted light teal accents (#c0c9c9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#c2dfe0) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010404black |
| Foreground | #050f10black | #fcfdfdwhite |
| Card | #ffffffwhite | #010404black |
| Card foreground | #050f10black | #fcfdfdwhite |
| Popover | #ffffffwhite | #010404black |
| Popover foreground | #050f10black | #fcfdfdwhite |
| Primary | #c2dfe0powderblue | #c2dfe0powderblue |
| Primary foreground | #26494adarkslategray | #26494adarkslategray |
| Secondary | #dbdcdcgainsboro | #2c3535darkslategray |
| Secondary foreground | #414444darkslategray | #c5cecelightgrey |
| Muted | #dae6e7gainsboro | #182525black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #c0c9c9silver | #364d4edarkslategray |
| Accent foreground | #282f2fdarkslategray | #d5e1e2gainsboro |
| Destructive | #ff0000red | #f26f3atomato |
| Destructive foreground | #f9f9f9ghostwhite | #000000black |
| Border | #e3e8e8gainsboro | #202727darkslategray |
| Input | #e3e8e8gainsboro | #202727darkslategray |
| Ring | #c2dfe0powderblue | #c2dfe0powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.79:1 | AA Large |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 6.27:1 | AA |
| Accent | 6.69:1 | AA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Socialist Peek a Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.016 198.215);
--muted: oklch(0.917 0.013 199.411);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.016 198.215);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.016 198.215);
--border: oklch(0.927 0.005 199.535);
--input: oklch(0.927 0.005 199.535);
--primary: oklch(0.883 0.03 199.164);
--primary-foreground: oklch(0.379 0.04 198.472);
--secondary: oklch(0.893 0.002 199.583);
--secondary-foreground: oklch(0.383 0.003 199.484);
--accent: oklch(0.828 0.01 199.443);
--accent-foreground: oklch(0.297 0.009 199.196);
--destructive: oklch(0.628 0.258 29.234);
--destructive-foreground: oklch(0.982 0 180);
--ring: oklch(0.883 0.03 199.164);
--chart-1: oklch(0.883 0.03 199.164);
--chart-2: oklch(0.893 0.002 199.583);
--chart-3: oklch(0.828 0.01 199.443);
--chart-4: oklch(0.916 0.001 199.588);
--chart-5: oklch(0.885 0.033 199.129);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 197.731);
--foreground: oklch(0.993 0.001 199.587);
--muted: oklch(0.251 0.017 198.785);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.099 0.01 197.731);
--popover-foreground: oklch(0.993 0.001 199.587);
--card: oklch(0.099 0.01 197.731);
--card-foreground: oklch(0.993 0.001 199.587);
--border: oklch(0.265 0.009 199.171);
--input: oklch(0.265 0.009 199.171);
--primary: oklch(0.883 0.03 199.164);
--primary-foreground: oklch(0.379 0.04 198.472);
--secondary: oklch(0.319 0.011 199.142);
--secondary-foreground: oklch(0.844 0.01 199.442);
--accent: oklch(0.403 0.028 198.767);
--accent-foreground: oklch(0.901 0.013 199.407);
--destructive: oklch(0.691 0.175 40.795);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.883 0.03 199.164);
--chart-1: oklch(0.883 0.03 199.164);
--chart-2: oklch(0.319 0.011 199.142);
--chart-3: oklch(0.403 0.028 198.767);
--chart-4: oklch(0.35 0.013 199.129);
--chart-5: oklch(0.885 0.033 199.129);
}