Broad is a shadcn/ui theme built around a vivid light blue primary color (#c2e6fa) with muted light red accents (#cdc1c1). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid light blue primary (#c2e6fa) on a blue-tinted background (#03090c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #03090cblack |
| Foreground | #020608black | #fcfdfdwhite |
| Card | #fbfdfewhite | #03090cblack |
| Card foreground | #020608black | #fcfdfdwhite |
| Popover | #fbfdfewhite | #03090cblack |
| Popover foreground | #020608black | #fcfdfdwhite |
| Primary | #c2e6fapaleturquoise | #c2e6fapaleturquoise |
| Primary foreground | #031621black | #031621black |
| Secondary | #dededegainsboro | #2b2f31darkslategray |
| Secondary foreground | #454545darkslategray | #c3c8cbsilver |
| Muted | #e4cecelightgrey | #1b2a31darkslategray |
| Muted foreground | #5f5d5ddimgray | #a0a1a2darkgray |
| Accent | #cdc1c1silver | #38454ddarkslategray |
| Accent foreground | #322929darkslategray | #d6dde1gainsboro |
| Destructive | #8d350csaddlebrown | #d85113chocolate |
| Destructive foreground | #fbded0blanchedalmond | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c2e6fapaleturquoise | #c2e6fapaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 14.04:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 4.35:1 | AA Large |
| Accent | 8.08:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 14.04:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Broad in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 230.691);
--foreground: oklch(0.116 0.012 224.329);
--muted: oklch(0.869 0.025 17.641);
--muted-foreground: oklch(0.482 0.002 17.241);
--popover: oklch(0.993 0.002 230.691);
--popover-foreground: oklch(0.116 0.012 224.329);
--card: oklch(0.993 0.002 230.691);
--card-foreground: oklch(0.116 0.012 224.329);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.906 0.047 231.483);
--primary-foreground: oklch(0.191 0.035 233.57);
--secondary: oklch(0.9 0 188.746);
--secondary-foreground: oklch(0.39 0 165.964);
--accent: oklch(0.821 0.013 17.414);
--accent-foreground: oklch(0.292 0.014 17.96);
--destructive: oklch(0.448 0.129 41.21);
--destructive-foreground: oklch(0.92 0.037 46.442);
--ring: oklch(0.906 0.047 231.483);
--chart-1: oklch(0.906 0.047 231.483);
--chart-2: oklch(0.9 0 188.746);
--chart-3: oklch(0.821 0.013 17.414);
--chart-4: oklch(0.923 0 153.435);
--chart-5: oklch(0.906 0.049 231.517);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.014 224.986);
--foreground: oklch(0.992 0.001 230.669);
--muted: oklch(0.274 0.024 232.316);
--muted-foreground: oklch(0.708 0.002 230.693);
--popover: oklch(0.133 0.014 224.986);
--popover-foreground: oklch(0.992 0.001 230.669);
--card: oklch(0.133 0.014 224.986);
--card-foreground: oklch(0.992 0.001 230.669);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.906 0.047 231.483);
--primary-foreground: oklch(0.191 0.035 233.57);
--secondary: oklch(0.301 0.007 231);
--secondary-foreground: oklch(0.83 0.007 230.772);
--accent: oklch(0.383 0.022 231.585);
--accent-foreground: oklch(0.893 0.01 230.81);
--destructive: oklch(0.609 0.181 40.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.906 0.047 231.483);
--chart-1: oklch(0.906 0.047 231.483);
--chart-2: oklch(0.301 0.007 231);
--chart-3: oklch(0.383 0.022 231.585);
--chart-4: oklch(0.332 0.008 231.013);
--chart-5: oklch(0.906 0.049 231.517);
}