Esteemed is a shadcn/ui theme built around a blue primary color (#446b83) with muted light blue accents (#d5dadd). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the blue primary (#446b83) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #000000black |
| Foreground | #000000black | #f4f8fawhitesmoke |
| Card | #f8fafcghostwhite | #030303black |
| Card foreground | #000000black | #f8fafcghostwhite |
| Popover | #fcfdfdwhite | #000000black |
| Popover foreground | #000000black | #f4f8fawhitesmoke |
| Primary | #446b83dimgray | #446b83dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d5daddgainsboro | #26292cdarkslategray |
| Secondary foreground | #394146darkslategray | #bec3c6silver |
| Muted | #cedee9gainsboro | #162731darkslategray |
| Muted foreground | #4a575edarkslategray | #a1adb5darkgray |
| Accent | #d5daddgainsboro | #26292cdarkslategray |
| Accent foreground | #394146darkslategray | #bec3c6silver |
| Destructive | #780907maroon | #de100dred |
| Destructive foreground | #fbb8b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #446b83dimgray | #446b83dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 5.72:1 | AA |
| Secondary button | 8.19:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 5.02:1 | AA |
Paste this into your globals.css to use Esteemed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 234.526);
--foreground: oklch(0 0 0);
--muted: oklch(0.893 0.023 234.889);
--muted-foreground: oklch(0.447 0.02 235.212);
--popover: oklch(0.992 0.001 234.526);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.003 234.546);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.508 0.059 236.858);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.884 0.007 234.612);
--secondary-foreground: oklch(0.371 0.013 235.057);
--accent: oklch(0.884 0.007 234.612);
--accent-foreground: oklch(0.371 0.013 235.057);
--destructive: oklch(0.366 0.143 28.677);
--destructive-foreground: oklch(0.844 0.078 19.941);
--ring: oklch(0.508 0.059 236.858);
--chart-1: oklch(0.508 0.059 236.858);
--chart-2: oklch(0.884 0.007 234.612);
--chart-3: oklch(0.884 0.007 234.612);
--chart-4: oklch(0.908 0.005 234.588);
--chart-5: oklch(0.51 0.064 237.16);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.005 234.581);
--muted: oklch(0.262 0.03 236.773);
--muted-foreground: oklch(0.741 0.018 234.865);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.005 234.581);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.003 234.555);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.508 0.059 236.858);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.28 0.006 234.847);
--secondary-foreground: oklch(0.813 0.007 234.638);
--accent: oklch(0.28 0.006 234.847);
--accent-foreground: oklch(0.813 0.007 234.638);
--destructive: oklch(0.569 0.228 28.985);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.508 0.059 236.858);
--chart-1: oklch(0.508 0.059 236.858);
--chart-2: oklch(0.28 0.006 234.847);
--chart-3: oklch(0.28 0.006 234.847);
--chart-4: oklch(0.311 0.007 234.862);
--chart-5: oklch(0.51 0.064 237.16);
}