Conscious Prussian Blue is a shadcn/ui theme built around a deep blue primary color (#11355f) with muted light blue accents (#c0c9d3). The light mode uses a neutral background (#f7fafd). Dark mode keeps the deep blue primary (#11355f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #000000black |
| Foreground | #050c15black | #f9fafbghostwhite |
| Card | #f7fafdghostwhite | #000000black |
| Card foreground | #050c15black | #f9fafbghostwhite |
| Popover | #f7fafdghostwhite | #000000black |
| Popover foreground | #050c15black | #f9fafbghostwhite |
| Primary | #11355fmidnightblue | #11355fmidnightblue |
| Primary foreground | #b1cff1lightblue | #b1cff1lightblue |
| Secondary | #dcdee0gainsboro | #151719black |
| Secondary foreground | #40454adarkslategray | #a8afb8darkgray |
| Muted | #dcdee0gainsboro | #1f2123black |
| Muted foreground | #3d444ddarkslategray | #b2bac2silver |
| Accent | #c0c9d3lightsteelblue | #293038darkslategray |
| Accent foreground | #283039darkslategray | #c1c9d1silver |
| Destructive | #af3404firebrick | #fa520forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e3e5e8gainsboro | #1e2124black |
| Input | #e3e5e8gainsboro | #1e2124black |
| Ring | #11355fmidnightblue | #11355fmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 8.21:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.34:1 | AA Large |
Paste this into your globals.css to use Conscious Prussian Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 251.49);
--foreground: oklch(0.152 0.022 249.458);
--muted: oklch(0.899 0.003 251.477);
--muted-foreground: oklch(0.384 0.018 251.797);
--popover: oklch(0.983 0.005 251.49);
--popover-foreground: oklch(0.152 0.022 249.458);
--card: oklch(0.983 0.005 251.49);
--card-foreground: oklch(0.152 0.022 249.458);
--border: oklch(0.922 0.004 251.486);
--input: oklch(0.922 0.004 251.486);
--primary: oklch(0.329 0.085 254.206);
--primary-foreground: oklch(0.844 0.058 251.938);
--secondary: oklch(0.899 0.004 251.488);
--secondary-foreground: oklch(0.386 0.011 251.66);
--accent: oklch(0.832 0.016 251.606);
--accent-foreground: oklch(0.305 0.019 251.9);
--destructive: oklch(0.506 0.166 37.226);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.329 0.085 254.206);
--chart-1: oklch(0.329 0.085 254.206);
--chart-2: oklch(0.899 0.004 251.488);
--chart-3: oklch(0.832 0.016 251.606);
--chart-4: oklch(0.922 0.003 251.478);
--chart-5: oklch(0.33 0.088 254.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.001 251.461);
--muted: oklch(0.247 0.004 251.581);
--muted-foreground: oklch(0.784 0.015 251.602);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.001 251.461);
--card: oklch(0 0 0);
--card-foreground: oklch(0.984 0.001 251.461);
--border: oklch(0.246 0.007 251.677);
--input: oklch(0.246 0.007 251.677);
--primary: oklch(0.329 0.085 254.206);
--primary-foreground: oklch(0.844 0.058 251.938);
--secondary: oklch(0.202 0.006 251.673);
--secondary-foreground: oklch(0.752 0.015 251.603);
--accent: oklch(0.306 0.017 251.85);
--accent-foreground: oklch(0.832 0.015 251.588);
--destructive: oklch(0.665 0.214 37.549);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.329 0.085 254.206);
--chart-1: oklch(0.329 0.085 254.206);
--chart-2: oklch(0.202 0.006 251.673);
--chart-3: oklch(0.306 0.017 251.85);
--chart-4: oklch(0.235 0.008 251.695);
--chart-5: oklch(0.33 0.088 254.427);
}