Clear Blue Bass is a shadcn/ui theme built around a vivid blue primary color (#007bff) with near-white accents (#f4f4f5). The light mode uses a neutral background (#f9fafb). Dark mode keeps the vivid blue primary (#007bff) on a violet-tinted background (#0a090b).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fafbghostwhite | #0a090bblack |
| Foreground | #010204black | #fafafasnow |
| Card | #ffffffwhite | #141414black |
| Card foreground | #010204black | #fafafasnow |
| Popover | #ffffffwhite | #141414black |
| Popover foreground | #010204black | #fafafasnow |
| Primary | #007bffdodgerblue | #007bffdodgerblue |
| Primary foreground | #ffffffwhite | #e5e5e5gainsboro |
| Secondary | #d4d6d8lightgrey | #27272adarkslategray |
| Secondary foreground | #3a3d40darkslategray | #fafafasnow |
| Muted | #e5ebf5lavender | #27272adarkslategray |
| Muted foreground | #424242darkslategray | #a1a1aadarkgray |
| Accent | #f4f4f5whitesmoke | #27272adarkslategray |
| Accent foreground | #18181bblack | #fafafasnow |
| Destructive | #f1175dcrimson | #f1175dcrimson |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #ebedf0lavender | #27272adarkslategray |
| Input | #ebedf0lavender | #27272adarkslategray |
| Ring | #18181bblack | #d4d4d8lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 3.97:1 | AA Large |
| Secondary button | 7.49:1 | AAA |
| Muted text | 8.39:1 | AAA |
| Accent | 16.12:1 | AAA |
| Destructive | 4.00:1 | AA Large |
| Text on background | 19.03:1 | AAA |
| Text on card | 17.65:1 | AAA |
| Primary button | 3.15:1 | AA Large |
| Secondary button | 14.26:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 14.26:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Clear Blue Bass in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.002 247.839);
--foreground: oklch(0.084 0.012 255.886);
--muted: oklch(0.938 0.015 260.729);
--muted-foreground: oklch(0.379 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.084 0.012 255.886);
--card: oklch(1 0 180);
--card-foreground: oklch(0.084 0.012 255.886);
--border: oklch(0.945 0.005 258.325);
--input: oklch(0.945 0.005 258.325);
--primary: oklch(0.605 0.217 257.215);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.875 0.004 247.864);
--secondary-foreground: oklch(0.358 0.007 248.012);
--accent: oklch(0.968 0.001 286.375);
--accent-foreground: oklch(0.21 0.006 285.883);
--destructive: oklch(0.616 0.238 12.273);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.21 0.006 285.883);
--chart-1: oklch(0.605 0.217 257.215);
--chart-2: oklch(0.875 0.004 247.864);
--chart-3: oklch(0.9 0.003 247.862);
--chart-4: oklch(0.807 0.082 251.602);
--chart-5: oklch(0.902 0.04 251.777);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.005 308.447);
--foreground: oklch(0.985 0 180);
--muted: oklch(0.274 0.005 286.033);
--muted-foreground: oklch(0.712 0.013 286.068);
--popover: oklch(0.191 0 180);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.191 0 180);
--card-foreground: oklch(0.985 0 180);
--border: oklch(0.274 0.005 286.033);
--input: oklch(0.274 0.005 286.033);
--primary: oklch(0.605 0.217 257.215);
--primary-foreground: oklch(0.922 0 168.69);
--secondary: oklch(0.274 0.005 286.033);
--secondary-foreground: oklch(0.985 0 180);
--accent: oklch(0.274 0.005 286.033);
--accent-foreground: oklch(0.985 0 180);
--destructive: oklch(0.616 0.238 12.273);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.871 0.005 286.285);
--chart-1: oklch(0.53 0.193 262.051);
--chart-2: oklch(0.248 0 180);
--chart-3: oklch(0.273 0 180);
--chart-4: oklch(0.417 0 180);
--chart-5: oklch(0.489 0 153.435);
}