Convenient Blue Hepatica is a shadcn/ui theme built around a vivid indigo primary color (#6467f2) with muted light indigo accents (#ccccd6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#6467f2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #02020eblack | #f9f9fbghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #02020eblack | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #02020eblack | #f9f9fbghostwhite |
| Primary | #6467f2mediumslateblue | #6467f2mediumslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e4e4e7gainsboro | #262636darkslategray |
| Secondary foreground | #494950darkslategray | #bdbed0silver |
| Muted | #e3e4edlavender | #12131cblack |
| Muted foreground | #545563dimgray | #9c9cabdarkgray |
| Accent | #ccccd6lightgrey | #333452darkslategray |
| Accent foreground | #32323edarkslategray | #d3d3e4gainsboro |
| Destructive | #a23b0bsaddlebrown | #e05210chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e7e7e9lavender | #252528darkslategray |
| Input | #e7e7e9lavender | #252528darkslategray |
| Ring | #6467f2mediumslateblue | #6467f2mediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 7.05:1 | AAA |
| Muted text | 5.79:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.84:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Convenient Blue Hepatica in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.097 0.036 275.84);
--muted: oklch(0.92 0.012 285.378);
--muted-foreground: oklch(0.454 0.023 284.657);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.097 0.036 275.84);
--card: oklch(1 0 180);
--card-foreground: oklch(0.097 0.036 275.84);
--border: oklch(0.929 0.002 285.57);
--input: oklch(0.929 0.002 285.57);
--primary: oklch(0.587 0.204 277.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.92 0.003 285.551);
--secondary-foreground: oklch(0.407 0.012 285.057);
--accent: oklch(0.849 0.014 285.326);
--accent-foreground: oklch(0.322 0.021 284.365);
--destructive: oklch(0.492 0.146 40.53);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.587 0.204 277.362);
--chart-1: oklch(0.587 0.204 277.362);
--chart-2: oklch(0.92 0.003 285.551);
--chart-3: oklch(0.849 0.014 285.326);
--chart-4: oklch(0.944 0.002 285.573);
--chart-5: oklch(0.584 0.211 276.928);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.002 285.576);
--muted: oklch(0.189 0.018 283.75);
--muted-foreground: oklch(0.698 0.021 285.068);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.002 285.576);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.002 285.576);
--border: oklch(0.265 0.006 285.237);
--input: oklch(0.265 0.006 285.237);
--primary: oklch(0.587 0.204 277.362);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.277 0.028 283.64);
--secondary-foreground: oklch(0.806 0.026 285.021);
--accent: oklch(0.337 0.052 282.465);
--accent-foreground: oklch(0.873 0.022 285.155);
--destructive: oklch(0.623 0.19 39.985);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.587 0.204 277.362);
--chart-1: oklch(0.587 0.204 277.362);
--chart-2: oklch(0.277 0.028 283.64);
--chart-3: oklch(0.337 0.052 282.465);
--chart-4: oklch(0.304 0.032 283.558);
--chart-5: oklch(0.584 0.211 276.928);
}