Middle Blue Capybara is a shadcn/ui theme built around a cyan primary color (#6ad2e7) with muted light cyan accents (#e4ebec). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#6ad2e7) on a cyan-tinted background (#050a0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a0bblack |
| Foreground | #020708black | #f9fafbghostwhite |
| Card | #ffffffwhite | #050a0bblack |
| Card foreground | #020708black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #050a0bblack |
| Popover foreground | #020708black | #f9fafbghostwhite |
| Primary | #6ad2e7skyblue | #6ad2e7skyblue |
| Primary foreground | #04171ablack | #04171ablack |
| Secondary | #e4ebeclavender | #182325black |
| Secondary foreground | #41595ddarkslategray | #a9c1c6silver |
| Muted | #dee2e3gainsboro | #1c2021black |
| Muted foreground | #545859dimgray | #a6aaabdarkgray |
| Accent | #e4ebeclavender | #182325black |
| Accent foreground | #41595ddarkslategray | #a9c1c6silver |
| Destructive | #9c3b11saddlebrown | #ea723etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #eaebeblavender | #1d1f20black |
| Input | #eaebeblavender | #1d1f20black |
| Ring | #6ad2e7skyblue | #6ad2e7skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 10.47:1 | AAA |
| Secondary button | 6.17:1 | AA |
| Muted text | 5.51:1 | AA |
| Accent | 6.17:1 | AA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 10.47:1 | AAA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 8.54:1 | AAA |
| Destructive | 6.94:1 | AA |
Paste this into your globals.css to use Middle Blue Capybara in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.014 207.143);
--muted: oklch(0.91 0.004 211.04);
--muted-foreground: oklch(0.458 0.006 211.038);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.014 207.143);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.014 207.143);
--border: oklch(0.94 0.002 211.043);
--input: oklch(0.94 0.002 211.043);
--primary: oklch(0.809 0.101 212.414);
--primary-foreground: oklch(0.189 0.026 211.832);
--secondary: oklch(0.935 0.008 211.038);
--secondary-foreground: oklch(0.445 0.03 211.271);
--accent: oklch(0.935 0.008 211.038);
--accent-foreground: oklch(0.445 0.03 211.271);
--destructive: oklch(0.482 0.139 40.388);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.101 212.414);
--chart-1: oklch(0.809 0.101 212.414);
--chart-2: oklch(0.935 0.008 211.038);
--chart-3: oklch(0.935 0.008 211.038);
--chart-4: oklch(0.957 0.005 211.04);
--chart-5: oklch(0.813 0.104 212.534);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.011 208.451);
--foreground: oklch(0.985 0.001 211.043);
--muted: oklch(0.24 0.005 211.046);
--muted-foreground: oklch(0.735 0.005 211.039);
--popover: oklch(0.137 0.011 208.451);
--popover-foreground: oklch(0.985 0.001 211.043);
--card: oklch(0.137 0.011 208.451);
--card-foreground: oklch(0.985 0.001 211.043);
--border: oklch(0.239 0.003 211.038);
--input: oklch(0.239 0.003 211.038);
--primary: oklch(0.809 0.101 212.414);
--primary-foreground: oklch(0.189 0.026 211.832);
--secondary: oklch(0.246 0.015 211.218);
--secondary-foreground: oklch(0.795 0.027 211.071);
--accent: oklch(0.246 0.015 211.218);
--accent-foreground: oklch(0.795 0.027 211.071);
--destructive: oklch(0.684 0.162 42.401);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.809 0.101 212.414);
--chart-1: oklch(0.809 0.101 212.414);
--chart-2: oklch(0.246 0.015 211.218);
--chart-3: oklch(0.246 0.015 211.218);
--chart-4: oklch(0.28 0.018 211.248);
--chart-5: oklch(0.813 0.104 212.534);
}