Orthodox Gentian Flower is a shadcn/ui theme built around a vivid blue primary color (#3867ff) with vivid yellow accents (#ffd138). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#3867ff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #000000black | #f9f9fbghostwhite |
| Card | #f8f9fcghostwhite | #030303black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fbfcfewhite | #000000black |
| Popover foreground | #000000black | #f9f9fbghostwhite |
| Primary | #3867ffroyalblue | #3867ffroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ffd138gold | #ffd138gold |
| Secondary foreground | #050400black | #050400black |
| Muted | #ece9dfbeige | #201d13black |
| Muted foreground | #595854dimgray | #abaaa6darkgray |
| Accent | #ffd138gold | #ffd138gold |
| Accent foreground | #050400black | #050400black |
| Destructive | #c90a03firebrick | #fb160ered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eeeff2whitesmoke | #1d1f25black |
| Input | #eeeff2whitesmoke | #1d1f25black |
| Ring | #3867ffroyalblue | #3867ffroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 5.85:1 | AA |
| Accent | 14.05:1 | AAA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 14.05:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Orthodox Gentian Flower in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 272.633);
--foreground: oklch(0 0 0);
--muted: oklch(0.933 0.013 92.789);
--muted-foreground: oklch(0.461 0.007 92.792);
--popover: oklch(0.991 0.002 272.633);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.005 272.609);
--card-foreground: oklch(0 0 0);
--border: oklch(0.951 0.004 272.615);
--input: oklch(0.951 0.004 272.615);
--primary: oklch(0.575 0.232 266.062);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.876 0.164 90.694);
--secondary-foreground: oklch(0.105 0.022 100.181);
--accent: oklch(0.876 0.164 90.694);
--accent-foreground: oklch(0.105 0.022 100.181);
--destructive: oklch(0.527 0.213 29.449);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.575 0.232 266.062);
--chart-1: oklch(0.575 0.232 266.062);
--chart-2: oklch(0.876 0.164 90.694);
--chart-3: oklch(0.876 0.164 90.694);
--chart-4: oklch(0.884 0.158 91.429);
--chart-5: oklch(0.574 0.238 265.865);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 272.629);
--muted: oklch(0.23 0.018 93.16);
--muted-foreground: oklch(0.737 0.006 92.734);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 272.629);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.001 272.643);
--border: oklch(0.24 0.012 272.076);
--input: oklch(0.24 0.012 272.076);
--primary: oklch(0.575 0.232 266.062);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.876 0.164 90.694);
--secondary-foreground: oklch(0.105 0.022 100.181);
--accent: oklch(0.876 0.164 90.694);
--accent-foreground: oklch(0.105 0.022 100.181);
--destructive: oklch(0.626 0.25 29.246);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.575 0.232 266.062);
--chart-1: oklch(0.575 0.232 266.062);
--chart-2: oklch(0.876 0.164 90.694);
--chart-3: oklch(0.876 0.164 90.694);
--chart-4: oklch(0.884 0.158 91.429);
--chart-5: oklch(0.574 0.238 265.865);
}