Behest is a shadcn/ui theme built around a muted deep blue primary color (#353c40) with muted light blue accents (#e5e9eb). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the muted deep blue primary (#353c40) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #050c10black | #f4f8fawhitesmoke |
| Card | #f3f8fcaliceblue | #030303black |
| Card foreground | #03090cblack | #f8fafcghostwhite |
| Popover | #f7fbfdghostwhite | #000000black |
| Popover foreground | #050c10black | #f4f8fawhitesmoke |
| Primary | #353c40darkslategray | #353c40darkslategray |
| Primary foreground | #d0d5d8lightgrey | #d0d5d8lightgrey |
| Secondary | #e5e9eblavender | #121516black |
| Secondary foreground | #455159darkslategray | #a5afb6darkgray |
| Muted | #e5e9eblavender | #14181ablack |
| Muted foreground | #4d565cdarkslategray | #a3adb2darkgray |
| Accent | #e5e9eblavender | #121516black |
| Accent foreground | #455159darkslategray | #a5afb6darkgray |
| Destructive | #7e2207maroon | #ed410corangered |
| Destructive foreground | #fbcabbpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #353c40darkslategray | #353c40darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 6.66:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 6.66:1 | AA |
| Destructive | 6.71:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.82:1 | AAA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Behest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 234.584);
--foreground: oklch(0.146 0.016 232.298);
--muted: oklch(0.931 0.006 234.595);
--muted-foreground: oklch(0.447 0.015 235.023);
--popover: oklch(0.985 0.005 234.584);
--popover-foreground: oklch(0.146 0.016 232.298);
--card: oklch(0.977 0.008 234.624);
--card-foreground: oklch(0.132 0.014 228.519);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.351 0.011 234.991);
--primary-foreground: oklch(0.869 0.007 234.617);
--secondary: oklch(0.931 0.005 234.583);
--secondary-foreground: oklch(0.429 0.021 235.27);
--accent: oklch(0.931 0.005 234.583);
--accent-foreground: oklch(0.429 0.021 235.27);
--destructive: oklch(0.398 0.131 35.765);
--destructive-foreground: oklch(0.879 0.06 37.592);
--ring: oklch(0.351 0.011 234.991);
--chart-1: oklch(0.351 0.011 234.991);
--chart-2: oklch(0.931 0.005 234.583);
--chart-3: oklch(0.931 0.005 234.583);
--chart-4: oklch(0.954 0.003 234.556);
--chart-5: oklch(0.351 0.015 235.167);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.005 234.579);
--muted: oklch(0.205 0.008 235.139);
--muted-foreground: oklch(0.741 0.013 234.772);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.005 234.579);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.003 234.554);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.351 0.011 234.991);
--primary-foreground: oklch(0.869 0.007 234.617);
--secondary: oklch(0.193 0.005 234.897);
--secondary-foreground: oklch(0.749 0.014 234.789);
--accent: oklch(0.193 0.005 234.897);
--accent-foreground: oklch(0.749 0.014 234.789);
--destructive: oklch(0.627 0.215 34.878);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.351 0.011 234.991);
--chart-1: oklch(0.351 0.011 234.991);
--chart-2: oklch(0.193 0.005 234.897);
--chart-3: oklch(0.193 0.005 234.897);
--chart-4: oklch(0.227 0.007 234.948);
--chart-5: oklch(0.351 0.015 235.167);
}