Mean is a shadcn/ui theme built around a deep cyan primary color (#0d4359) with deep blue accents (#0d1e59). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep cyan primary (#0d4359) on a cyan-tinted background (#04090c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #04090cblack |
| Foreground | #020608black | #f5f8f9whitesmoke |
| Card | #f8fbfcghostwhite | #050c0fblack |
| Card foreground | #010304black | #f9fafbghostwhite |
| Popover | #fcfdfdwhite | #04090cblack |
| Popover foreground | #020608black | #f5f8f9whitesmoke |
| Primary | #0d4359darkslategray | #0d4359darkslategray |
| Primary foreground | #a6dcf2lightblue | #a6dcf2lightblue |
| Secondary | #0d5948darkslategray | #0d5948darkslategray |
| Secondary foreground | #a6f2e1paleturquoise | #a6f2e1paleturquoise |
| Muted | #e5f0eelavender | #0f1a17black |
| Muted foreground | #485b57darkslategray | #a4b7b3darkgray |
| Accent | #0d1e59midnightblue | #0d1e59midnightblue |
| Accent foreground | #a6b7f2lightsteelblue | #a6b7f2lightsteelblue |
| Destructive | #b44508saddlebrown | #e5570bchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d4359darkslategray | #0d4359darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 6.19:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 5.53:1 | AA |
| Text on background | 18.73:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 7.17:1 | AAA |
| Secondary button | 6.47:1 | AA |
| Muted text | 8.48:1 | AAA |
| Accent | 7.95:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Mean in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 223.146);
--foreground: oklch(0.118 0.012 217.966);
--muted: oklch(0.946 0.012 181.722);
--muted-foreground: oklch(0.455 0.025 180.453);
--popover: oklch(0.993 0.002 223.146);
--popover-foreground: oklch(0.118 0.012 217.966);
--card: oklch(0.985 0.003 223.161);
--card-foreground: oklch(0.094 0.009 217.966);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.361 0.065 229.803);
--primary-foreground: oklch(0.865 0.063 224.23);
--secondary: oklch(0.415 0.074 173.651);
--secondary-foreground: oklch(0.906 0.078 179.388);
--accent: oklch(0.265 0.108 266.656);
--accent-foreground: oklch(0.787 0.086 272.333);
--destructive: oklch(0.535 0.157 42.039);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.361 0.065 229.803);
--chart-1: oklch(0.361 0.065 229.803);
--chart-2: oklch(0.415 0.074 173.651);
--chart-3: oklch(0.265 0.108 266.656);
--chart-4: oklch(0.457 0.083 173.427);
--chart-5: oklch(0.364 0.067 230.232);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.013 218.777);
--foreground: oklch(0.978 0.003 223.165);
--muted: oklch(0.205 0.016 179.672);
--muted-foreground: oklch(0.764 0.022 181.231);
--popover: oklch(0.135 0.013 218.777);
--popover-foreground: oklch(0.978 0.003 223.165);
--card: oklch(0.15 0.014 221.925);
--card-foreground: oklch(0.985 0.002 223.153);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.361 0.065 229.803);
--primary-foreground: oklch(0.865 0.063 224.23);
--secondary: oklch(0.415 0.074 173.651);
--secondary-foreground: oklch(0.906 0.078 179.388);
--accent: oklch(0.265 0.108 266.656);
--accent-foreground: oklch(0.787 0.086 272.333);
--destructive: oklch(0.637 0.19 41.56);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.361 0.065 229.803);
--chart-1: oklch(0.361 0.065 229.803);
--chart-2: oklch(0.415 0.074 173.651);
--chart-3: oklch(0.265 0.108 266.656);
--chart-4: oklch(0.457 0.083 173.427);
--chart-5: oklch(0.364 0.067 230.232);
}