Experienced for shadcn/ui

Experienced is a shadcn/ui theme built around a muted light blue primary color (#e6e7ea) with muted light green accents (#e7eae6). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the muted light blue primary (#e6e7ea) on a blue-tinted background (#05060b).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#05060bblack
Foreground
#020408black
#f6f7f9whitesmoke
Card
#fcfcfdwhite
#05060bblack
Card foreground
#020408black
#f6f7f9whitesmoke
Popover
#fcfcfdwhite
#05060bblack
Popover foreground
#020408black
#f6f7f9whitesmoke
Primary
#e6e7ealavender
#e6e7ealavender
Primary foreground
#474b57darkslategray
#474b57darkslategray
Secondary
#eae6e7linen
#eae6e7linen
Secondary foreground
#57474bdarkslategray
#57474bdarkslategray
Muted
#e7d5d9gainsboro
#2a181dblack
Muted foreground
#605c5ddimgray
#a39fa0darkgray
Accent
#e7eae6linen
#e7eae6linen
Accent foreground
#4b5747darkslategray
#4b5747darkslategray
Destructive
#a70906darkred
#e70c08red
Destructive foreground
#fee2e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e6e7ealavender
#e6e7ealavender

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button7.03:1AAA
Secondary button7.04:1AAA
Muted text4.67:1AA
Accent6.29:1AA
Destructive6.38:1AA
Dark mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button7.03:1AAA
Secondary button7.04:1AAA
Muted text6.43:1AA
Accent6.29:1AA
Destructive4.70:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 271.392);
  --foreground: oklch(0.104 0.015 263.977);
  --muted: oklch(0.888 0.021 0.538);
  --muted-foreground: oklch(0.48 0.005 0.162);
  --popover: oklch(0.991 0.002 271.392);
  --popover-foreground: oklch(0.104 0.015 263.977);
  --card: oklch(0.991 0.002 271.392);
  --card-foreground: oklch(0.104 0.015 263.977);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.928 0.005 271.361);
  --primary-foreground: oklch(0.414 0.02 270.884);
  --secondary: oklch(0.928 0.005 0.024);
  --secondary-foreground: oklch(0.416 0.022 1.34);
  --accent: oklch(0.934 0.007 137.776);
  --accent-foreground: oklch(0.441 0.029 137.886);
  --destructive: oklch(0.461 0.185 29.066);
  --destructive-foreground: oklch(0.935 0.031 18.884);
  --ring: oklch(0.928 0.005 271.361);
  --chart-1: oklch(0.928 0.005 271.361);
  --chart-2: oklch(0.928 0.005 0.024);
  --chart-3: oklch(0.934 0.007 137.776);
  --chart-4: oklch(0.952 0.003 359.968);
  --chart-5: oklch(0.927 0.006 271.346);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 266.812);
  --foreground: oklch(0.975 0.003 271.382);
  --muted: oklch(0.235 0.031 3.433);
  --muted-foreground: oklch(0.705 0.005 0.049);
  --popover: oklch(0.124 0.012 266.812);
  --popover-foreground: oklch(0.975 0.003 271.382);
  --card: oklch(0.124 0.012 266.812);
  --card-foreground: oklch(0.975 0.003 271.382);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.928 0.005 271.361);
  --primary-foreground: oklch(0.414 0.02 270.884);
  --secondary: oklch(0.928 0.005 0.024);
  --secondary-foreground: oklch(0.416 0.022 1.34);
  --accent: oklch(0.934 0.007 137.776);
  --accent-foreground: oklch(0.441 0.029 137.886);
  --destructive: oklch(0.586 0.237 29.123);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.928 0.005 271.361);
  --chart-1: oklch(0.928 0.005 271.361);
  --chart-2: oklch(0.928 0.005 0.024);
  --chart-3: oklch(0.934 0.007 137.776);
  --chart-4: oklch(0.952 0.003 359.968);
  --chart-5: oklch(0.927 0.006 271.346);
}