Interesting is a shadcn/ui theme built around a vivid deep cyan primary color (#021f2c) with vivid deep blue accents (#020a2c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#021f2c) on a cyan-tinted background (#04090b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04090bblack |
| Foreground | #031017black | #ffffffwhite |
| Card | #fcfcfcsnow | #060c0eblack |
| Card foreground | #020d12black | #ffffffwhite |
| Popover | #ffffffwhite | #04090bblack |
| Popover foreground | #031017black | #ffffffwhite |
| Primary | #021f2cblack | #021f2cblack |
| Primary foreground | #0ca6eddeepskyblue | #0ca6eddeepskyblue |
| Secondary | #022c24black | #022c24black |
| Secondary foreground | #0cedc4darkturquoise | #0cedc4darkturquoise |
| Muted | #eff6f5whitesmoke | #09100fblack |
| Muted foreground | #3c4946darkslategray | #b6c3c1silver |
| Accent | #020a2cblack | #020a2cblack |
| Accent foreground | #cad3fclavender | #cad3fclavender |
| Destructive | #cf2402firebrick | #fd3008orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #021f2cblack | #021f2cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 8.57:1 | AAA |
| Accent | 13.16:1 | AAA |
| Destructive | 5.37:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 10.55:1 | AAA |
| Accent | 13.16:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Interesting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.165 0.026 226.948);
--muted: oklch(0.967 0.008 184.089);
--muted-foreground: oklch(0.393 0.017 183.074);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.165 0.026 226.948);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.15 0.023 224.542);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.223 0.042 231.959);
--primary-foreground: oklch(0.69 0.152 238.322);
--secondary: oklch(0.262 0.046 177.218);
--secondary-foreground: oklch(0.846 0.16 173.91);
--accent: oklch(0.164 0.07 265.276);
--accent-foreground: oklch(0.873 0.058 275.199);
--destructive: oklch(0.55 0.208 31.964);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.223 0.042 231.959);
--chart-1: oklch(0.223 0.042 231.959);
--chart-2: oklch(0.262 0.046 177.218);
--chart-3: oklch(0.164 0.07 265.276);
--chart-4: oklch(0.313 0.056 176.315);
--chart-5: oklch(0.224 0.044 232.072);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.01 222.519);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.012 182.32);
--muted-foreground: oklch(0.807 0.015 183.811);
--popover: oklch(0.134 0.01 222.519);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.148 0.012 225.73);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.223 0.042 231.959);
--primary-foreground: oklch(0.69 0.152 238.322);
--secondary: oklch(0.262 0.046 177.218);
--secondary-foreground: oklch(0.846 0.16 173.91);
--accent: oklch(0.164 0.07 265.276);
--accent-foreground: oklch(0.873 0.058 275.199);
--destructive: oklch(0.64 0.24 31.941);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.223 0.042 231.959);
--chart-1: oklch(0.223 0.042 231.959);
--chart-2: oklch(0.262 0.046 177.218);
--chart-3: oklch(0.164 0.07 265.276);
--chart-4: oklch(0.313 0.056 176.315);
--chart-5: oklch(0.224 0.044 232.072);
}