Embarrassed is a shadcn/ui theme built around a muted deep blue primary color (#101619) with muted deep green accents (#161910). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the muted deep blue primary (#101619) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #010304black |
| Foreground | #010304black | #fcfdfdwhite |
| Card | #f7fbfdghostwhite | #010304black |
| Card foreground | #010304black | #fcfdfdwhite |
| Popover | #f7fbfdghostwhite | #010304black |
| Popover foreground | #010304black | #fcfdfdwhite |
| Primary | #101619black | #101619black |
| Primary foreground | #9ab4c1darkgray | #9ab4c1darkgray |
| Secondary | #191016black | #191016black |
| Secondary foreground | #c19ab4darkgray | #c19ab4darkgray |
| Muted | #e5d6e0gainsboro | #291a24black |
| Muted foreground | #644f5ddimgray | #b09ba9darkgray |
| Accent | #161910black | #161910black |
| Accent foreground | #b4c19adarkgray | #b4c19adarkgray |
| Destructive | #82240dsaddlebrown | #e33f16orangered |
| Destructive foreground | #f9d1c7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #101619black | #101619black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 5.34:1 | AA |
| Accent | 9.32:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 7.59:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 9.32:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Embarrassed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 228.821);
--foreground: oklch(0.093 0.011 221.818);
--muted: oklch(0.892 0.022 337.745);
--muted-foreground: oklch(0.453 0.036 338.79);
--popover: oklch(0.985 0.005 228.821);
--popover-foreground: oklch(0.093 0.011 221.818);
--card: oklch(0.985 0.005 228.821);
--card-foreground: oklch(0.093 0.011 221.818);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.195 0.012 229.739);
--primary-foreground: oklch(0.754 0.034 229.438);
--secondary: oklch(0.187 0.02 339.345);
--secondary-foreground: oklch(0.73 0.058 338.802);
--accent: oklch(0.208 0.019 123.035);
--accent-foreground: oklch(0.79 0.055 122.647);
--destructive: oklch(0.407 0.132 34.543);
--destructive-foreground: oklch(0.893 0.047 34.342);
--ring: oklch(0.195 0.012 229.739);
--chart-1: oklch(0.195 0.012 229.739);
--chart-2: oklch(0.187 0.02 339.345);
--chart-3: oklch(0.208 0.019 123.035);
--chart-4: oklch(0.219 0.027 339.599);
--chart-5: oklch(0.196 0.013 229.892);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.007 223.839);
--foreground: oklch(0.993 0.001 228.766);
--muted: oklch(0.24 0.03 339.623);
--muted-foreground: oklch(0.713 0.032 338.146);
--popover: oklch(0.093 0.007 223.839);
--popover-foreground: oklch(0.993 0.001 228.766);
--card: oklch(0.093 0.007 223.839);
--card-foreground: oklch(0.993 0.001 228.766);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.195 0.012 229.739);
--primary-foreground: oklch(0.754 0.034 229.438);
--secondary: oklch(0.187 0.02 339.345);
--secondary-foreground: oklch(0.73 0.058 338.802);
--accent: oklch(0.208 0.019 123.035);
--accent-foreground: oklch(0.79 0.055 122.647);
--destructive: oklch(0.609 0.206 34.144);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.195 0.012 229.739);
--chart-1: oklch(0.195 0.012 229.739);
--chart-2: oklch(0.187 0.02 339.345);
--chart-3: oklch(0.208 0.019 123.035);
--chart-4: oklch(0.219 0.027 339.599);
--chart-5: oklch(0.196 0.013 229.892);
}