Hello is a shadcn/ui theme built around a muted deep teal primary color (#223a39) with muted deep blue accents (#222f3a). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted deep teal primary (#223a39) on a neutral background (#020808).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020808black |
| Foreground | #040b0bblack | #fbfdfdwhite |
| Card | #fbfefewhite | #020808black |
| Card foreground | #040b0bblack | #fbfdfdwhite |
| Popover | #fbfefewhite | #020808black |
| Popover foreground | #040b0bblack | #fbfdfdwhite |
| Primary | #223a39darkslategray | #223a39darkslategray |
| Primary foreground | #b8d5d4lightsteelblue | #b8d5d4lightsteelblue |
| Secondary | #223a2ddarkslategray | #223a2ddarkslategray |
| Secondary foreground | #b8d5c5silver | #b8d5c5silver |
| Muted | #dff1e7lavender | #0e2016black |
| Muted foreground | #424342darkslategray | #bcbdbdsilver |
| Accent | #222f3adarkslategray | #222f3adarkslategray |
| Accent foreground | #b8c8d5lightsteelblue | #b8c8d5lightsteelblue |
| Destructive | #b43813firebrick | #eb663dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #223a39darkslategray | #223a39darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 8.46:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 9.02:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.47:1 | AA |
Paste this into your globals.css to use Hello in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 193.532);
--foreground: oklch(0.142 0.014 192.337);
--muted: oklch(0.942 0.023 162.003);
--muted-foreground: oklch(0.381 0.002 162.479);
--popover: oklch(0.995 0.004 193.532);
--popover-foreground: oklch(0.142 0.014 192.337);
--card: oklch(0.995 0.004 193.532);
--card-foreground: oklch(0.142 0.014 192.337);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.328 0.03 191.773);
--primary-foreground: oklch(0.853 0.031 192.888);
--secondary: oklch(0.324 0.038 159.239);
--secondary-foreground: oklch(0.849 0.038 161.458);
--accent: oklch(0.298 0.026 243.478);
--accent-foreground: oklch(0.826 0.025 242.604);
--destructive: oklch(0.52 0.166 36.043);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.328 0.03 191.773);
--chart-1: oklch(0.328 0.03 191.773);
--chart-2: oklch(0.324 0.038 159.239);
--chart-3: oklch(0.298 0.026 243.478);
--chart-4: oklch(0.357 0.043 159.123);
--chart-5: oklch(0.331 0.033 191.605);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.014 192.406);
--foreground: oklch(0.994 0.002 193.566);
--muted: oklch(0.224 0.031 158.515);
--muted-foreground: oklch(0.798 0.002 162.563);
--popover: oklch(0.126 0.014 192.406);
--popover-foreground: oklch(0.994 0.002 193.566);
--card: oklch(0.126 0.014 192.406);
--card-foreground: oklch(0.994 0.002 193.566);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.328 0.03 191.773);
--primary-foreground: oklch(0.853 0.031 192.888);
--secondary: oklch(0.324 0.038 159.239);
--secondary-foreground: oklch(0.849 0.038 161.458);
--accent: oklch(0.298 0.026 243.478);
--accent-foreground: oklch(0.826 0.025 242.604);
--destructive: oklch(0.668 0.174 37.358);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.328 0.03 191.773);
--chart-1: oklch(0.328 0.03 191.773);
--chart-2: oklch(0.324 0.038 159.239);
--chart-3: oklch(0.298 0.026 243.478);
--chart-4: oklch(0.357 0.043 159.123);
--chart-5: oklch(0.331 0.033 191.605);
}