Collo is a shadcn/ui theme built around a blue primary color (#3c5b80) with blue accents (#3c5b80). The light mode uses a blue-tinted background (#f0f4f8). Dark mode switches to a muted deep green primary (#212c21) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #f0f4f8whitesmoke | #020402black |
| Foreground | #061406black | #f5faf5whitesmoke |
| Card | #fcfcfcsnow | #030703black |
| Card foreground | #051005black | #f8fcf8mintcream |
| Popover | #fcfcfcsnow | #030703black |
| Popover foreground | #051005black | #f8fcf8mintcream |
| Primary | #3c5b80darkslateblue | #212c21darkslategray |
| Primary foreground | #ffffffwhite | #b6c8b7silver |
| Secondary | #ed6b4ctomato | #151915black |
| Secondary foreground | #ffffffwhite | #aab5abdarkgray |
| Muted | #d1d1d1lightgrey | #112711black |
| Muted foreground | #878787gray | #a0b1a0darkgray |
| Accent | #3c5b80darkslateblue | #2a372adarkslategray |
| Accent foreground | #ffffffwhite | #c2d0c3silver |
| Destructive | #f46a6asalmon | #da460borangered |
| Destructive foreground | #fef4f4lavenderblush | #ffffffwhite |
| Border | #d4dae0gainsboro | #161d16black |
| Input | #d4dae0gainsboro | #161d16black |
| Ring | #8c9eb4darkgray | #212c21darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.11:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 3.08:1 | AA Large |
| Muted text | 2.35:1 | Fail |
| Accent | 7.00:1 | AAA |
| Destructive | 2.73:1 | Fail |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 4.31:1 | AA Large |
Paste this into your globals.css to use Collo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.965 0.007 247.896);
--foreground: oklch(0.171 0.034 144.331);
--muted: oklch(0.861 0 180);
--muted-foreground: oklch(0.622 0 165.964);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.156 0.03 144.454);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.156 0.03 144.454);
--border: oklch(0.886 0.011 247.945);
--input: oklch(0.886 0.011 247.945);
--primary: oklch(0.464 0.071 253.549);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.68 0.168 34.701);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.464 0.071 253.549);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.694 0.17 22.56);
--destructive-foreground: oklch(0.976 0.011 17.341);
--ring: oklch(0.693 0.038 253.535);
--chart-1: oklch(0.464 0.071 253.549);
--chart-2: oklch(0.68 0.168 34.701);
--chart-3: oklch(0.464 0.071 253.549);
--chart-4: oklch(0.701 0.154 34.605);
--chart-5: oklch(0.463 0.077 253.654);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.013 144.934);
--foreground: oklch(0.98 0.009 145.979);
--muted: oklch(0.248 0.05 144.232);
--muted-foreground: oklch(0.742 0.031 145.708);
--popover: oklch(0.12 0.017 144.934);
--popover-foreground: oklch(0.986 0.006 146.005);
--card: oklch(0.12 0.017 144.934);
--card-foreground: oklch(0.986 0.006 146.005);
--border: oklch(0.221 0.017 145.399);
--input: oklch(0.221 0.017 145.399);
--primary: oklch(0.278 0.024 145.313);
--primary-foreground: oklch(0.815 0.031 145.738);
--secondary: oklch(0.207 0.008 145.738);
--secondary-foreground: oklch(0.763 0.02 145.842);
--accent: oklch(0.32 0.027 145.324);
--accent-foreground: oklch(0.844 0.024 145.819);
--destructive: oklch(0.599 0.193 37.539);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.278 0.024 145.313);
--chart-1: oklch(0.278 0.024 145.313);
--chart-2: oklch(0.207 0.008 145.738);
--chart-3: oklch(0.32 0.027 145.324);
--chart-4: oklch(0.241 0.01 145.705);
--chart-5: oklch(0.28 0.029 145.158);
}