Embarrassed is a shadcn/ui theme built around a blue primary color (#3c5090) with green accents (#50903c). The light mode uses a neutral background (#f8f9fb). Dark mode keeps the blue primary (#3c5090) on a blue-tinted background (#05080f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fbghostwhite | #05080fblack |
| Foreground | #060913black | #fcfcfdwhite |
| Card | #f8f9fbghostwhite | #05080fblack |
| Card foreground | #060913black | #fcfcfdwhite |
| Popover | #f8f9fbghostwhite | #05080fblack |
| Popover foreground | #060913black | #fcfcfdwhite |
| Primary | #3c5090darkslateblue | #3c5090darkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #903c50sienna | #903c50sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4e6e9linen | #190b0eblack |
| Muted foreground | #4e4648darkslategray | #b9b1b3darkgray |
| Accent | #50903colivedrab | #50903colivedrab |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8e2c0bsaddlebrown | #f0693dtomato |
| Destructive foreground | #fbdbd0bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c5090darkslateblue | #3c5090darkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 7.56:1 | AAA |
| Accent | 3.90:1 | AA Large |
| Destructive | 6.42:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 9.14:1 | AAA |
| Accent | 3.90:1 | AA Large |
| Destructive | 6.82:1 | AA |
Paste this into your globals.css to use Embarrassed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.003 272.623);
--foreground: oklch(0.143 0.023 268.398);
--muted: oklch(0.937 0.016 1.437);
--muted-foreground: oklch(0.402 0.012 1.812);
--popover: oklch(0.982 0.003 272.623);
--popover-foreground: oklch(0.143 0.023 268.398);
--card: oklch(0.982 0.003 272.623);
--card-foreground: oklch(0.143 0.023 268.398);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.447 0.108 268.991);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.475 0.115 7.998);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0.135 138.943);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.438 0.139 36.759);
--destructive-foreground: oklch(0.914 0.04 39.303);
--ring: oklch(0.447 0.108 268.991);
--chart-1: oklch(0.447 0.108 268.991);
--chart-2: oklch(0.475 0.115 7.998);
--chart-3: oklch(0.59 0.135 138.943);
--chart-4: oklch(0.5 0.121 8.07);
--chart-5: oklch(0.444 0.116 268.638);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.018 267.608);
--foreground: oklch(0.991 0.001 272.643);
--muted: oklch(0.171 0.026 5.035);
--muted-foreground: oklch(0.767 0.011 1.341);
--popover: oklch(0.133 0.018 267.608);
--popover-foreground: oklch(0.991 0.001 272.643);
--card: oklch(0.133 0.018 267.608);
--card-foreground: oklch(0.991 0.001 272.643);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.447 0.108 268.991);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.475 0.115 7.998);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.59 0.135 138.943);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.682 0.177 38.458);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.447 0.108 268.991);
--chart-1: oklch(0.447 0.108 268.991);
--chart-2: oklch(0.475 0.115 7.998);
--chart-3: oklch(0.59 0.135 138.943);
--chart-4: oklch(0.5 0.121 8.07);
--chart-5: oklch(0.444 0.116 268.638);
}