Illustrious is a shadcn/ui theme built around a muted blue primary color (#a8aec2) with muted blue accents (#b3b7c7). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the muted blue primary (#a8aec2) on a blue-tinted background (#03050c).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #03050cblack |
| Foreground | #010204black | #f6f7f9whitesmoke |
| Card | #f7f8fdghostwhite | #03050cblack |
| Card foreground | #010204black | #f6f7f9whitesmoke |
| Popover | #f7f8fdghostwhite | #03050cblack |
| Popover foreground | #010204black | #f6f7f9whitesmoke |
| Primary | #a8aec2darkgray | #a8aec2darkgray |
| Primary foreground | #171921black | #171921black |
| Secondary | #d3d5d9lightgrey | #232324black |
| Secondary foreground | #393b41darkslategray | #bbbcbesilver |
| Muted | #d4daecgainsboro | #13182bblack |
| Muted foreground | #5a5e6ddimgray | #9296a5darkgray |
| Accent | #b3b7c7silver | #2d3039darkslategray |
| Accent foreground | #1e2129black | #c6c9d2lightgrey |
| Destructive | #c60d06firebrick | #f71008red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8aec2darkgray | #a8aec2darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 4.61:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.07:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Illustrious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 273.784);
--foreground: oklch(0.078 0.016 263.875);
--muted: oklch(0.889 0.026 273.511);
--muted-foreground: oklch(0.483 0.026 273.197);
--popover: oklch(0.98 0.007 273.784);
--popover-foreground: oklch(0.078 0.016 263.875);
--card: oklch(0.98 0.007 273.784);
--card-foreground: oklch(0.078 0.016 263.875);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.751 0.031 273.364);
--primary-foreground: oklch(0.216 0.016 272.893);
--secondary: oklch(0.872 0.006 273.784);
--secondary-foreground: oklch(0.352 0.012 273.457);
--accent: oklch(0.781 0.023 273.519);
--accent-foreground: oklch(0.248 0.016 273.012);
--destructive: oklch(0.522 0.21 29.325);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.031 273.364);
--chart-1: oklch(0.751 0.031 273.364);
--chart-2: oklch(0.872 0.006 273.784);
--chart-3: oklch(0.781 0.023 273.519);
--chart-4: oklch(0.896 0.005 273.801);
--chart-5: oklch(0.748 0.036 273.267);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.019 266.55);
--foreground: oklch(0.975 0.003 273.831);
--muted: oklch(0.213 0.038 271.168);
--muted-foreground: oklch(0.674 0.023 273.443);
--popover: oklch(0.117 0.019 266.55);
--popover-foreground: oklch(0.975 0.003 273.831);
--card: oklch(0.117 0.019 266.55);
--card-foreground: oklch(0.975 0.003 273.831);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.751 0.031 273.364);
--primary-foreground: oklch(0.216 0.016 272.893);
--secondary: oklch(0.258 0.002 273.771);
--secondary-foreground: oklch(0.795 0.003 273.823);
--accent: oklch(0.31 0.016 273.209);
--accent-foreground: oklch(0.836 0.012 273.693);
--destructive: oklch(0.617 0.249 29.324);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.031 273.364);
--chart-1: oklch(0.751 0.031 273.364);
--chart-2: oklch(0.258 0.002 273.771);
--chart-3: oklch(0.31 0.016 273.209);
--chart-4: oklch(0.289 0.003 273.766);
--chart-5: oklch(0.748 0.036 273.267);
}