Immaculate is a shadcn/ui theme built around a deep blue primary color (#123554) with deep green accents (#355412). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#123554) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #03080cblack | #f6f7f9whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #03080cblack | #f6f7f9whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #03080cblack | #f6f7f9whitesmoke |
| Primary | #123554darkslategray | #123554darkslategray |
| Primary foreground | #abceedlightblue | #abceedlightblue |
| Secondary | #541235maroon | #541235maroon |
| Secondary foreground | #edabceplum | #edabceplum |
| Muted | #e3dee1gainsboro | #211c1fblack |
| Muted foreground | #6d5a64dimgray | #a5929crosybrown |
| Accent | #355412darkolivegreen | #355412darkolivegreen |
| Accent foreground | #ceedabpalegoldenrod | #ceedabpalegoldenrod |
| Destructive | #d14905chocolate | #f95a0borangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #123554darkslategray | #123554darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 4.79:1 | AA |
| Accent | 6.75:1 | AA |
| Destructive | 4.49:1 | AA Large |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.67:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 5.73:1 | AA |
| Accent | 6.75:1 | AA |
| Destructive | 6.50:1 | AA |
Paste this into your globals.css to use Immaculate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.129 0.015 236.659);
--muted: oklch(0.905 0.006 343.598);
--muted-foreground: oklch(0.489 0.03 344.938);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.129 0.015 236.659);
--card: oklch(1 0 180);
--card-foreground: oklch(0.129 0.015 236.659);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.321 0.068 248.128);
--primary-foreground: oklch(0.837 0.057 244.955);
--secondary: oklch(0.309 0.103 352.133);
--secondary-foreground: oklch(0.814 0.088 345.99);
--accent: oklch(0.406 0.098 131.471);
--accent-foreground: oklch(0.907 0.092 128.431);
--destructive: oklch(0.588 0.182 39.945);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.321 0.068 248.128);
--chart-1: oklch(0.321 0.068 248.128);
--chart-2: oklch(0.309 0.103 352.133);
--chart-3: oklch(0.406 0.098 131.471);
--chart-4: oklch(0.338 0.114 352.402);
--chart-5: oklch(0.322 0.07 248.425);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.002 244.116);
--muted: oklch(0.234 0.008 344.264);
--muted-foreground: oklch(0.68 0.028 344.445);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.002 244.116);
--card: oklch(0 0 0);
--card-foreground: oklch(0.977 0.002 244.116);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.321 0.068 248.128);
--primary-foreground: oklch(0.837 0.057 244.955);
--secondary: oklch(0.309 0.103 352.133);
--secondary-foreground: oklch(0.814 0.088 345.99);
--accent: oklch(0.406 0.098 131.471);
--accent-foreground: oklch(0.907 0.092 128.431);
--destructive: oklch(0.672 0.207 40.219);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.321 0.068 248.128);
--chart-1: oklch(0.321 0.068 248.128);
--chart-2: oklch(0.309 0.103 352.133);
--chart-3: oklch(0.406 0.098 131.471);
--chart-4: oklch(0.338 0.114 352.402);
--chart-5: oklch(0.322 0.07 248.425);
}