Empowerment for shadcn/ui

Empowerment is a shadcn/ui theme built around a vivid cyan primary color (#087596) with vivid blue accents (#082e96). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#087596) on a cyan-tinted background (#04090b).

Color palette

TokenLightDark
Background
#ffffffwhite
#04090bblack
Foreground
#061013black
#fcfdfdwhite
Card
#fcfcfcsnow
#060c0eblack
Card foreground
#050d0fblack
#ffffffwhite
Popover
#ffffffwhite
#04090bblack
Popover foreground
#061013black
#fcfdfdwhite
Primary
#087596darkcyan
#087596darkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#089670teal
#089670teal
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ecf3f1whitesmoke
#0c1311black
Muted foreground
#5d6563dimgray
#9aa2a0darkgray
Accent
#082e96midnightblue
#082e96midnightblue
Accent foreground
#d3defdlavender
#d3defdlavender
Destructive
#881207darkred
#f44434tomato
Destructive foreground
#fcc9c5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#087596darkcyan
#087596darkcyan

Contrast

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

Light mode
Text on background19.24:1AAA
Text on card19.18:1AAA
Primary button5.25:1AA
Secondary button3.73:1AA Large
Muted text5.32:1AA
Accent8.49:1AAA
Destructive6.71:1AA
Dark mode
Text on background19.60:1AAA
Text on card19.64:1AAA
Primary button5.25:1AA
Secondary button3.73:1AA Large
Muted text7.22:1AAA
Accent8.49:1AAA
Destructive3.66:1AA Large

CSS variables

Paste this into your globals.css to use Empowerment in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.166 0.017 218.206);
  --muted: oklch(0.959 0.007 178.567);
  --muted-foreground: oklch(0.499 0.01 178.189);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.166 0.017 218.206);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.151 0.015 216.734);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.525 0.099 226.713);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.599 0.121 166.968);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.36 0.174 263.902);
  --accent-foreground: oklch(0.903 0.043 269.664);
  --destructive: oklch(0.402 0.153 30.137);
  --destructive-foreground: oklch(0.88 0.058 24.347);
  --ring: oklch(0.525 0.099 226.713);
  --chart-1: oklch(0.525 0.099 226.713);
  --chart-2: oklch(0.599 0.121 166.968);
  --chart-3: oklch(0.36 0.174 263.902);
  --chart-4: oklch(0.64 0.13 166.826);
  --chart-5: oklch(0.529 0.101 227.15);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.011 214.37);
  --foreground: oklch(0.993 0.002 217.751);
  --muted: oklch(0.177 0.011 176.947);
  --muted-foreground: oklch(0.705 0.009 178.399);
  --popover: oklch(0.136 0.011 214.37);
  --popover-foreground: oklch(0.993 0.002 217.751);
  --card: oklch(0.15 0.012 216.91);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.525 0.099 226.713);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.599 0.121 166.968);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.36 0.174 263.902);
  --accent-foreground: oklch(0.903 0.043 269.664);
  --destructive: oklch(0.643 0.215 29.474);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.525 0.099 226.713);
  --chart-1: oklch(0.525 0.099 226.713);
  --chart-2: oklch(0.599 0.121 166.968);
  --chart-3: oklch(0.36 0.174 263.902);
  --chart-4: oklch(0.64 0.13 166.826);
  --chart-5: oklch(0.529 0.101 227.15);
}