Quiet Peace grey is a shadcn/ui theme built around a muted blue primary color (#3e4c65) with muted light blue accents (#d5dbe7). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the muted blue primary (#3e4c65) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f9fdghostwhite | #020204black |
| Foreground | #030a16black | #fcfcfdwhite |
| Card | #f2f6fdaliceblue | #030507black |
| Card foreground | #030812black | #ffffffwhite |
| Popover | #f2f6fdaliceblue | #030507black |
| Popover foreground | #030812black | #ffffffwhite |
| Primary | #3e4c65darkslategray | #3e4c65darkslategray |
| Primary foreground | #e6e9eflavender | #e6e9eflavender |
| Secondary | #e7eaeelavender | #13161bblack |
| Secondary foreground | #434e60darkslategray | #a1acbfdarkgray |
| Muted | #d1d7e0gainsboro | #1f242edarkslategray |
| Muted foreground | #5b5c5ddimgray | #a2a3a4darkgray |
| Accent | #d5dbe7gainsboro | #1d242fdarkslategray |
| Accent foreground | #324057darkslategray | #b0bbcflightsteelblue |
| Destructive | #aa1c09firebrick | #e9260corangered |
| Destructive foreground | #fee9e7mistyrose | #ffffffwhite |
| Border | #e1e3e5gainsboro | #222326darkslategray |
| Input | #e1e3e5gainsboro | #222326darkslategray |
| Ring | #3e4c65darkslategray | #3e4c65darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 4.62:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 7.08:1 | AAA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.43:1 | AA Large |
Paste this into your globals.css to use Quiet Peace grey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 261.512);
--foreground: oklch(0.145 0.03 255.726);
--muted: oklch(0.877 0.015 261.502);
--muted-foreground: oklch(0.473 0.002 261.513);
--popover: oklch(0.972 0.01 261.509);
--popover-foreground: oklch(0.133 0.026 253.267);
--card: oklch(0.972 0.01 261.509);
--card-foreground: oklch(0.133 0.026 253.267);
--border: oklch(0.914 0.003 261.513);
--input: oklch(0.914 0.003 261.513);
--primary: oklch(0.416 0.046 261.174);
--primary-foreground: oklch(0.934 0.009 261.51);
--secondary: oklch(0.935 0.007 261.511);
--secondary-foreground: oklch(0.421 0.034 261.306);
--accent: oklch(0.891 0.017 261.499);
--accent-foreground: oklch(0.37 0.045 261.12);
--destructive: oklch(0.475 0.178 30.924);
--destructive-foreground: oklch(0.951 0.022 26.613);
--ring: oklch(0.416 0.046 261.174);
--chart-1: oklch(0.416 0.046 261.174);
--chart-2: oklch(0.935 0.007 261.511);
--chart-3: oklch(0.891 0.017 261.499);
--chart-4: oklch(0.96 0.004 261.513);
--chart-5: oklch(0.414 0.051 261.103);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.008 255.806);
--foreground: oklch(0.992 0.001 261.514);
--muted: oklch(0.26 0.02 261.323);
--muted-foreground: oklch(0.715 0.002 261.514);
--popover: oklch(0.11 0.01 255.806);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.11 0.01 255.806);
--card-foreground: oklch(1 0 180);
--border: oklch(0.256 0.006 261.494);
--input: oklch(0.256 0.006 261.494);
--primary: oklch(0.416 0.046 261.174);
--primary-foreground: oklch(0.934 0.009 261.51);
--secondary: oklch(0.198 0.012 261.384);
--secondary-foreground: oklch(0.742 0.03 261.452);
--accent: oklch(0.258 0.024 261.251);
--accent-foreground: oklch(0.79 0.03 261.458);
--destructive: oklch(0.598 0.228 30.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.416 0.046 261.174);
--chart-1: oklch(0.416 0.046 261.174);
--chart-2: oklch(0.198 0.012 261.384);
--chart-3: oklch(0.258 0.024 261.251);
--chart-4: oklch(0.23 0.016 261.358);
--chart-5: oklch(0.414 0.051 261.103);
}