Interesting Impression of Obscurity is a shadcn/ui theme built around a vivid blue primary color (#0d47a1) with vivid light blue accents (#82b1ff). The light mode uses a neutral background (#fffefe). Dark mode switches to a deep blue primary (#1a237e) on a neutral background (#121212).
| Token | Light | Dark |
|---|---|---|
| Background | #fffefewhite | #121212black |
| Foreground | #212121black | #e0e0e0gainsboro |
| Card | #f5f5f5whitesmoke | #1e1e1eblack |
| Card foreground | #212121black | #e0e0e0gainsboro |
| Popover | #e0e0e0gainsboro | #2c2c2cdarkslategray |
| Popover foreground | #212121black | #e0e0e0gainsboro |
| Primary | #0d47a1darkslateblue | #1a237emidnightblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9e9e9edarkgray | #546e7adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1f3f3whitesmoke | #757575gray |
| Muted foreground | #b0bec5silver | #9e9e9edarkgray |
| Accent | #82b1fflightskyblue | #64b5f6cornflowerblue |
| Accent foreground | #212121black | #ffffffwhite |
| Destructive | #d32f2fcrimson | #d32f2fcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0e0e0gainsboro | #2c2c2cdarkslategray |
| Input | #f5f5f5whitesmoke | #1e1e1eblack |
| Ring | #64b5f6cornflowerblue | #82b1fflightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.98:1 | AAA |
| Text on card | 14.77:1 | AAA |
| Primary button | 8.63:1 | AAA |
| Secondary button | 2.67:1 | Fail |
| Muted text | 1.71:1 | Fail |
| Accent | 7.42:1 | AAA |
| Destructive | 4.97:1 | AA |
| Text on background | 14.19:1 | AAA |
| Text on card | 12.63:1 | AAA |
| Primary button | 13.24:1 | AAA |
| Secondary button | 5.40:1 | AA |
| Muted text | 1.71:1 | Fail |
| Accent | 2.21:1 | Fail |
| Destructive | 4.97:1 | AA |
Paste this into your globals.css to use Interesting Impression of Obscurity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.998 0.001 6.626);
--foreground: oklch(0.248 0 180);
--muted: oklch(0.964 0.002 186.53);
--muted-foreground: oklch(0.793 0.018 229.071);
--popover: oklch(0.907 0 180);
--popover-foreground: oklch(0.248 0 180);
--card: oklch(0.97 0 187.595);
--card-foreground: oklch(0.248 0 180);
--border: oklch(0.907 0 180);
--input: oklch(0.97 0 187.595);
--primary: oklch(0.422 0.157 259.916);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.699 0 169.695);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.124 260.183);
--accent-foreground: oklch(0.248 0 180);
--destructive: oklch(0.568 0.2 26.405);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.123 244.746);
--chart-1: oklch(0.422 0.157 259.916);
--chart-2: oklch(0.699 0 169.695);
--chart-3: oklch(0.759 0.124 260.183);
--chart-4: oklch(0.724 0 171.87);
--chart-5: oklch(0.422 0.162 260.087);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.182 0 169.695);
--foreground: oklch(0.907 0 180);
--muted: oklch(0.562 0 135);
--muted-foreground: oklch(0.699 0 169.695);
--popover: oklch(0.293 0 180);
--popover-foreground: oklch(0.907 0 180);
--card: oklch(0.235 0 180);
--card-foreground: oklch(0.907 0 180);
--border: oklch(0.293 0 180);
--input: oklch(0.235 0 180);
--primary: oklch(0.321 0.151 270.289);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.522 0.036 227.886);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.748 0.123 244.746);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.568 0.2 26.405);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.759 0.124 260.183);
--chart-1: oklch(0.321 0.151 270.289);
--chart-2: oklch(0.522 0.036 227.886);
--chart-3: oklch(0.748 0.123 244.746);
--chart-4: oklch(0.549 0.038 227.898);
--chart-5: oklch(0.319 0.157 269.622);
}