Apparent Blue Genie is a shadcn/ui theme built around a vivid indigo primary color (#6261fa) with muted light green accents (#d3ded3). The light mode uses a neutral background (#f1f1f1). Dark mode switches to a green primary (#31dd34) on a neutral background (#020802).
| Token | Light | Dark |
|---|---|---|
| Background | #f1f1f1whitesmoke | #020802black |
| Foreground | #020d03black | #fcfdfcwhite |
| Card | #fcfdfcwhite | #020802black |
| Card foreground | #020d03black | #fcfdfcwhite |
| Popover | #fcfdfcwhite | #020802black |
| Popover foreground | #020d03black | #fcfdfcwhite |
| Primary | #6261famediumslateblue | #31dd34limegreen |
| Primary foreground | #f1f1f1whitesmoke | #09390adarkgreen |
| Secondary | #1fd4cddarkturquoise | #273a28darkslategray |
| Secondary foreground | #303130darkslategray | #bfd4c0silver |
| Muted | #eef6eehoneydew | #091109black |
| Muted foreground | #464e46darkslategray | #90ad90darkseagreen |
| Accent | #d3ded3lightgrey | #325332darkslategray |
| Accent foreground | #353430darkslategray | #d2e4d3gainsboro |
| Destructive | #fa003fcrimson | #de5612chocolate |
| Destructive foreground | #fce2d5antiquewhite | #ffffffwhite |
| Border | #888d88gray | #232923darkslategray |
| Input | #868d86gray | #232923darkslategray |
| Ring | #6261famediumslateblue | #31dd34limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.51:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 4.03:1 | AA Large |
| Secondary button | 7.06:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 9.02:1 | AAA |
| Destructive | 3.30:1 | AA Large |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 7.82:1 | AAA |
| Accent | 6.53:1 | AA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Apparent Blue Genie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.958 0 180);
--foreground: oklch(0.142 0.034 144.053);
--muted: oklch(0.966 0.014 145.938);
--muted-foreground: oklch(0.415 0.017 145.714);
--popover: oklch(0.993 0.003 146.029);
--popover-foreground: oklch(0.142 0.034 144.053);
--card: oklch(0.993 0.003 146.029);
--card-foreground: oklch(0.142 0.034 144.053);
--border: oklch(0.639 0.009 145.936);
--input: oklch(0.636 0.014 145.876);
--primary: oklch(0.583 0.222 277.309);
--primary-foreground: oklch(0.958 0 180);
--secondary: oklch(0.787 0.132 190.494);
--secondary-foreground: oklch(0.312 0.001 146.017);
--accent: oklch(0.89 0.02 145.873);
--accent-foreground: oklch(0.326 0.008 101.99);
--destructive: oklch(0.623 0.25 20.743);
--destructive-foreground: oklch(0.929 0.034 48.338);
--ring: oklch(0.583 0.222 277.309);
--chart-1: oklch(0.583 0.222 277.309);
--chart-2: oklch(0.787 0.132 190.494);
--chart-3: oklch(0.89 0.02 145.873);
--chart-4: oklch(0.818 0.136 190.538);
--chart-5: oklch(0.58 0.228 276.862);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.024 144.469);
--foreground: oklch(0.993 0.001 146.045);
--muted: oklch(0.165 0.021 144.987);
--muted-foreground: oklch(0.716 0.052 145.442);
--popover: oklch(0.122 0.024 144.469);
--popover-foreground: oklch(0.993 0.001 146.045);
--card: oklch(0.122 0.024 144.469);
--card-foreground: oklch(0.993 0.001 146.045);
--border: oklch(0.274 0.014 145.629);
--input: oklch(0.274 0.014 145.629);
--primary: oklch(0.785 0.245 142.949);
--primary-foreground: oklch(0.302 0.09 143.156);
--secondary: oklch(0.325 0.04 144.998);
--secondary-foreground: oklch(0.848 0.035 145.711);
--accent: oklch(0.407 0.066 144.604);
--accent-foreground: oklch(0.901 0.03 145.776);
--destructive: oklch(0.624 0.183 41.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.785 0.245 142.949);
--chart-1: oklch(0.785 0.245 142.949);
--chart-2: oklch(0.325 0.04 144.998);
--chart-3: oklch(0.407 0.066 144.604);
--chart-4: oklch(0.357 0.045 144.966);
--chart-5: oklch(0.793 0.251 142.893);
}