Soothing Blue is a shadcn/ui theme built around a vivid indigo primary color (#6366f1) with vivid light indigo accents (#bfc0f7). The light mode uses a neutral background (#ffffff). Dark mode switches to a neutral gray primary (#716f71) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030104black |
| Foreground | #333f50darkslategray | #ffffffwhite |
| Card | #ffffffwhite | #030104black |
| Card foreground | #333f50darkslategray | #ffffffwhite |
| Popover | #ffffffwhite | #030104black |
| Popover foreground | #333f50darkslategray | #ffffffwhite |
| Primary | #6366f1mediumslateblue | #716f71dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f0f1f4whitesmoke | #70716fdimgray |
| Secondary foreground | #333f50darkslategray | #ffffffwhite |
| Muted | #f0f1f4whitesmoke | #0c0f0bblack |
| Muted foreground | #707070dimgray | #9a9f99darkgray |
| Accent | #bfc0f7lightsteelblue | #70716fdimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ef4343tomato | #f55829tomato |
| Destructive foreground | #fbfbfbsnow | #000000black |
| Border | #dfdfe7gainsboro | #1f1d20black |
| Input | #eeeceewhitesmoke | #1f1d20black |
| Ring | #6366f1mediumslateblue | #716f71dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.67:1 | AAA |
| Text on card | 10.67:1 | AAA |
| Primary button | 4.46:1 | AA Large |
| Secondary button | 9.44:1 | AAA |
| Muted text | 4.38:1 | AA Large |
| Accent | 1.73:1 | Fail |
| Destructive | 3.65:1 | AA Large |
| Text on background | 20.77:1 | AAA |
| Text on card | 20.77:1 | AAA |
| Primary button | 4.98:1 | AA |
| Secondary button | 4.89:1 | AA |
| Muted text | 7.17:1 | AAA |
| Accent | 4.89:1 | AA |
| Destructive | 6.31:1 | AA |
Paste this into your globals.css to use Soothing Blue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.364 0.034 257.095);
--muted: oklch(0.958 0.004 271.369);
--muted-foreground: oklch(0.545 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.364 0.034 257.095);
--card: oklch(1 0 180);
--card-foreground: oklch(0.364 0.034 257.095);
--border: oklch(0.906 0.011 288.474);
--input: oklch(0.945 0.003 316.011);
--primary: oklch(0.585 0.204 277.118);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.958 0.004 271.369);
--secondary-foreground: oklch(0.364 0.034 257.095);
--accent: oklch(0.826 0.077 283.605);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.636 0.208 25.378);
--destructive-foreground: oklch(0.988 0 171.87);
--ring: oklch(0.585 0.204 277.118);
--chart-1: oklch(0.685 0.2 22.293);
--chart-2: oklch(0.358 0.032 256.835);
--chart-3: oklch(0.672 0.17 261.628);
--chart-4: oklch(0.69 0.1 350.545);
--chart-5: oklch(0.674 0.082 214.241);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.018 317.876);
--foreground: oklch(1 0 180);
--muted: oklch(0.162 0.008 136.218);
--muted-foreground: oklch(0.696 0.01 136.073);
--popover: oklch(0.084 0.018 317.876);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.018 317.876);
--card-foreground: oklch(1 0 180);
--border: oklch(0.235 0.007 315.921);
--input: oklch(0.235 0.007 315.921);
--primary: oklch(0.544 0.004 315.996);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.548 0.004 136.048);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.548 0.004 136.048);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.665 0.201 36.603);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.544 0.004 315.996);
--chart-1: oklch(0.544 0.004 315.996);
--chart-2: oklch(0.548 0.004 136.048);
--chart-3: oklch(0.548 0.004 136.048);
--chart-4: oklch(0.574 0.004 136.048);
--chart-5: oklch(0.539 0.016 315.917);
}