Dependent Gentian Blue is a shadcn/ui theme built around an indigo primary color (#3b2296) with violet accents (#752296). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#3b2296) on an indigo-tinted background (#06050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #06050ablack |
| Foreground | #000000black | #f7f6f8whitesmoke |
| Card | #fcfbfewhite | #06050ablack |
| Card foreground | #000000black | #f7f6f8whitesmoke |
| Popover | #fcfbfewhite | #06050ablack |
| Popover foreground | #000000black | #f7f6f8whitesmoke |
| Primary | #3b2296darkslateblue | #3b2296darkslateblue |
| Primary foreground | #f1eefbwhitesmoke | #f1eefbwhitesmoke |
| Secondary | #224396darkslateblue | #224396darkslateblue |
| Secondary foreground | #eef2fbaliceblue | #eef2fbaliceblue |
| Muted | #cbd3e7lightgrey | #182034darkslategray |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #752296rebeccapurple | #752296rebeccapurple |
| Accent foreground | #f8eefblavenderblush | #f8eefblavenderblush |
| Destructive | #5d1409maroon | #e9371corangered |
| Destructive foreground | #f6ada2lightpink | #ffffffwhite |
| Border | #e4e3e8gainsboro | #1d1c21black |
| Input | #e4e3e8gainsboro | #1d1c21black |
| Ring | #3b2296darkslateblue | #3b2296darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 9.91:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 5.62:1 | AA |
| Accent | 7.68:1 | AAA |
| Destructive | 7.27:1 | AAA |
| Text on background | 18.85:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 9.91:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 7.68:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Dependent Gentian Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 296.253);
--foreground: oklch(0 0 0);
--muted: oklch(0.866 0.029 268.529);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.989 0.004 296.253);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.004 296.253);
--card-foreground: oklch(0 0 0);
--border: oklch(0.919 0.006 296.22);
--input: oklch(0.919 0.006 296.22);
--primary: oklch(0.368 0.175 283.671);
--primary-foreground: oklch(0.956 0.017 295.999);
--secondary: oklch(0.409 0.142 264.582);
--secondary-foreground: oklch(0.961 0.013 268.693);
--accent: oklch(0.438 0.183 314.158);
--accent-foreground: oklch(0.961 0.02 316.549);
--destructive: oklch(0.318 0.106 31.664);
--destructive-foreground: oklch(0.815 0.087 28.855);
--ring: oklch(0.368 0.175 283.671);
--chart-1: oklch(0.368 0.175 283.671);
--chart-2: oklch(0.409 0.142 264.582);
--chart-3: oklch(0.438 0.183 314.158);
--chart-4: oklch(0.432 0.151 264.541);
--chart-5: oklch(0.367 0.181 282.755);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.015 295.897);
--foreground: oklch(0.975 0.003 296.281);
--muted: oklch(0.247 0.039 267.064);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.12 0.015 295.897);
--popover-foreground: oklch(0.975 0.003 296.281);
--card: oklch(0.12 0.015 295.897);
--card-foreground: oklch(0.975 0.003 296.281);
--border: oklch(0.23 0.009 295.578);
--input: oklch(0.23 0.009 295.578);
--primary: oklch(0.368 0.175 283.671);
--primary-foreground: oklch(0.956 0.017 295.999);
--secondary: oklch(0.409 0.142 264.582);
--secondary-foreground: oklch(0.961 0.013 268.693);
--accent: oklch(0.438 0.183 314.158);
--accent-foreground: oklch(0.961 0.02 316.549);
--destructive: oklch(0.611 0.217 31.608);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.368 0.175 283.671);
--chart-1: oklch(0.368 0.175 283.671);
--chart-2: oklch(0.409 0.142 264.582);
--chart-3: oklch(0.438 0.183 314.158);
--chart-4: oklch(0.432 0.151 264.541);
--chart-5: oklch(0.367 0.181 282.755);
}