Blue-Dark is a shadcn/ui theme built around a deep cyan primary color (#09232a) with deep blue accents (#09132a). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep cyan primary (#09232a) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020708black |
| Foreground | #050d0fblack | #fcfdfdwhite |
| Card | #fcfdfdwhite | #020708black |
| Card foreground | #050d0fblack | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #020708black |
| Popover foreground | #050d0fblack | #fcfdfdwhite |
| Primary | #09232ablack | #09232ablack |
| Primary foreground | #2fadd0lightseagreen | #2fadd0lightseagreen |
| Secondary | #092a20black | #092a20black |
| Secondary foreground | #2fd0a2lightseagreen | #2fd0a2lightseagreen |
| Muted | #eaf1efwhitesmoke | #0e1513black |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #09132ablack | #09132ablack |
| Accent foreground | #829ee3cornflowerblue | #829ee3cornflowerblue |
| Destructive | #af3404firebrick | #fa4a05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #09232ablack | #09232ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 4.99:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.47:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Blue-Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 216.019);
--foreground: oklch(0.152 0.015 215.038);
--muted: oklch(0.951 0.008 177.48);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(0.993 0.002 216.019);
--popover-foreground: oklch(0.152 0.015 215.038);
--card: oklch(0.993 0.002 216.019);
--card-foreground: oklch(0.152 0.015 215.038);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.238 0.033 218.931);
--primary-foreground: oklch(0.696 0.116 221.183);
--secondary: oklch(0.257 0.041 171.01);
--secondary-foreground: oklch(0.766 0.144 168.5);
--accent: oklch(0.191 0.049 265.751);
--accent-foreground: oklch(0.705 0.106 267.178);
--destructive: oklch(0.506 0.166 37.226);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.238 0.033 218.931);
--chart-1: oklch(0.238 0.033 218.931);
--chart-2: oklch(0.257 0.041 171.01);
--chart-3: oklch(0.191 0.049 265.751);
--chart-4: oklch(0.301 0.051 170.434);
--chart-5: oklch(0.24 0.035 219.149);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.011 212.036);
--foreground: oklch(0.993 0.001 216.016);
--muted: oklch(0.189 0.011 175.901);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0.12 0.011 212.036);
--popover-foreground: oklch(0.993 0.001 216.016);
--card: oklch(0.12 0.011 212.036);
--card-foreground: oklch(0.993 0.001 216.016);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.238 0.033 218.931);
--primary-foreground: oklch(0.696 0.116 221.183);
--secondary: oklch(0.257 0.041 171.01);
--secondary-foreground: oklch(0.766 0.144 168.5);
--accent: oklch(0.191 0.049 265.751);
--accent-foreground: oklch(0.705 0.106 267.178);
--destructive: oklch(0.657 0.22 36.523);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.238 0.033 218.931);
--chart-1: oklch(0.238 0.033 218.931);
--chart-2: oklch(0.257 0.041 171.01);
--chart-3: oklch(0.191 0.049 265.751);
--chart-4: oklch(0.301 0.051 170.434);
--chart-5: oklch(0.24 0.035 219.149);
}