Blink Contrast (rainglow) is a shadcn/ui theme built around a muted light blue primary color (#c1cddc) with muted deep blue accents (#354046). The light mode uses a blue-tinted background (#14181a). Dark mode keeps the muted light blue primary (#c1cddc) on a blue-tinted background (#14181a).
| Token | Light | Dark |
|---|---|---|
| Background | #14181ablack | #14181ablack |
| Foreground | #c1cddclightsteelblue | #c1cddclightsteelblue |
| Card | #0f1314black | #0f1314black |
| Card foreground | #d2dae5gainsboro | #d2dae5gainsboro |
| Popover | #0d1011black | #0d1011black |
| Popover foreground | #e2e7eelavender | #e2e7eelavender |
| Primary | #c1cddclightsteelblue | #c1cddclightsteelblue |
| Primary foreground | #273444darkslategray | #273444darkslategray |
| Secondary | #353f4bdarkslategray | #353f4bdarkslategray |
| Secondary foreground | #d2d8dfgainsboro | #d2d8dfgainsboro |
| Muted | #22282bdarkslategray | #22282bdarkslategray |
| Muted foreground | #9ba9b0darkgray | #9ba9b0darkgray |
| Accent | #354046darkslategray | #354046darkslategray |
| Accent foreground | #d0d8dclightgrey | #d0d8dclightgrey |
| Destructive | #fe4525orangered | #fe4525orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #222425darkslategray | #222425darkslategray |
| Input | #2a2c2ddarkslategray | #2a2c2ddarkslategray |
| Ring | #c1cddclightsteelblue | #c1cddclightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.09:1 | AAA |
| Text on card | 13.27:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 3.44:1 | AA Large |
| Text on background | 11.09:1 | AAA |
| Text on card | 13.27:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Blink Contrast (rainglow) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.206 0.008 229.308);
--foreground: oklch(0.844 0.024 253.395);
--muted: oklch(0.271 0.01 229.315);
--muted-foreground: oklch(0.727 0.019 229.118);
--popover: oklch(0.171 0.005 229.21);
--popover-foreground: oklch(0.927 0.011 253.298);
--card: oklch(0.182 0.006 229.247);
--card-foreground: oklch(0.886 0.017 253.346);
--border: oklch(0.259 0.003 228.921);
--input: oklch(0.291 0.004 228.93);
--primary: oklch(0.844 0.024 253.395);
--primary-foreground: oklch(0.321 0.033 253.772);
--secondary: oklch(0.362 0.024 253.593);
--secondary-foreground: oklch(0.88 0.012 253.307);
--accent: oklch(0.364 0.018 229.51);
--accent-foreground: oklch(0.878 0.01 228.898);
--destructive: oklch(0.66 0.225 32.31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.024 253.395);
--chart-1: oklch(0.844 0.024 253.395);
--chart-2: oklch(0.362 0.024 253.593);
--chart-3: oklch(0.364 0.018 229.51);
--chart-4: oklch(0.391 0.027 253.6);
--chart-5: oklch(0.844 0.027 253.413);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.206 0.008 229.308);
--foreground: oklch(0.844 0.024 253.395);
--muted: oklch(0.271 0.01 229.315);
--muted-foreground: oklch(0.727 0.019 229.118);
--popover: oklch(0.171 0.005 229.21);
--popover-foreground: oklch(0.927 0.011 253.298);
--card: oklch(0.182 0.006 229.247);
--card-foreground: oklch(0.886 0.017 253.346);
--border: oklch(0.259 0.003 228.921);
--input: oklch(0.291 0.004 228.93);
--primary: oklch(0.844 0.024 253.395);
--primary-foreground: oklch(0.321 0.033 253.772);
--secondary: oklch(0.362 0.024 253.593);
--secondary-foreground: oklch(0.88 0.012 253.307);
--accent: oklch(0.364 0.018 229.51);
--accent-foreground: oklch(0.878 0.01 228.898);
--destructive: oklch(0.66 0.225 32.31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.844 0.024 253.395);
--chart-1: oklch(0.844 0.024 253.395);
--chart-2: oklch(0.362 0.024 253.593);
--chart-3: oklch(0.364 0.018 229.51);
--chart-4: oklch(0.391 0.027 253.6);
--chart-5: oklch(0.844 0.027 253.413);
}