Embarrassed for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button7.68:1AAA
Secondary button7.12:1AAA
Muted text7.56:1AAA
Accent3.90:1AA Large
Destructive6.42:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button7.68:1AAA
Secondary button7.12:1AAA
Muted text9.14:1AAA
Accent3.90:1AA Large
Destructive6.82:1AA

CSS variables

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);
}