awell is a shadcn/ui theme built around a vivid blue primary color (#2463eb) with vivid indigo accents (#4824eb). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the vivid blue primary (#2463eb) on a neutral background (#020408).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f9fdghostwhite | #020408black |
| Foreground | #010204black | #ffffffwhite |
| Card | #f6f9fdghostwhite | #020408black |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #f6f9fdghostwhite | #020408black |
| Popover foreground | #010204black | #ffffffwhite |
| Primary | #2463ebroyalblue | #2463ebroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #24c6ebdeepskyblue | #24c6ebdeepskyblue |
| Secondary foreground | #06333ddarkslategray | #06333ddarkslategray |
| Muted | #dae0e2gainsboro | #1d2425black |
| Muted foreground | #585a5adimgray | #a5a6a7darkgray |
| Accent | #4824ebblueviolet | #4824ebblueviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d7370forangered | #f15c37tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e9eaeclavender | #1d1e20black |
| Input | #e9eaeclavender | #1d1e20black |
| Ring | #2463ebroyalblue | #2463ebroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.62:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.69:1 | AA |
| Muted text | 5.21:1 | AA |
| Accent | 7.71:1 | AAA |
| Destructive | 4.74:1 | AA |
| Text on background | 20.49:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.69:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 7.71:1 | AAA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use awell in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 265.975);
--foreground: oklch(0.085 0.011 258.621);
--muted: oklch(0.903 0.007 212.669);
--muted-foreground: oklch(0.466 0.002 212.664);
--popover: oklch(0.981 0.007 265.975);
--popover-foreground: oklch(0.085 0.011 258.621);
--card: oklch(0.981 0.007 265.975);
--card-foreground: oklch(0.085 0.011 258.621);
--border: oklch(0.937 0.002 265.995);
--input: oklch(0.937 0.002 265.995);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.766 0.132 218.281);
--secondary-foreground: oklch(0.296 0.049 216.963);
--accent: oklch(0.472 0.266 277.238);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.579 0.202 33.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.766 0.132 218.281);
--chart-3: oklch(0.472 0.266 277.238);
--chart-4: oklch(0.777 0.129 217.253);
--chart-5: oklch(0.545 0.222 262.715);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.013 258.787);
--foreground: oklch(1 0 180);
--muted: oklch(0.253 0.01 212.775);
--muted-foreground: oklch(0.725 0.002 212.663);
--popover: oklch(0.107 0.013 258.787);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.107 0.013 258.787);
--card-foreground: oklch(1 0 180);
--border: oklch(0.235 0.005 265.896);
--input: oklch(0.235 0.005 265.896);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.766 0.132 218.281);
--secondary-foreground: oklch(0.296 0.049 216.963);
--accent: oklch(0.472 0.266 277.238);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.665 0.191 35.083);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.766 0.132 218.281);
--chart-3: oklch(0.472 0.266 277.238);
--chart-4: oklch(0.777 0.129 217.253);
--chart-5: oklch(0.545 0.222 262.715);
}