Insubstantial for shadcn/ui

Insubstantial is a shadcn/ui theme built around a muted light indigo primary color (#dfe0ec) with muted light green accents (#e0ecdf). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted light indigo primary (#dfe0ec) on an indigo-tinted background (#03040c).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#03040cblack
Foreground
#02020eblack
#f6f6f8whitesmoke
Card
#fbfbfeghostwhite
#03040cblack
Card foreground
#02020eblack
#f6f6f8whitesmoke
Popover
#fbfbfeghostwhite
#03040cblack
Popover foreground
#02020eblack
#f6f6f8whitesmoke
Primary
#dfe0ecgainsboro
#dfe0ecgainsboro
Primary foreground
#393b60darkslategray
#393b60darkslategray
Secondary
#ecdfe0gainsboro
#ecdfe0gainsboro
Secondary foreground
#60393bdarkolivegreen
#60393bdarkolivegreen
Muted
#efdcddmistyrose
#231011black
Muted foreground
#6b6161dimgray
#9e9494rosybrown
Accent
#e0ecdfgainsboro
#e0ecdfgainsboro
Accent foreground
#142013black
#142013black
Destructive
#6a110bmaroon
#e82f21crimson
Destructive foreground
#f7b5b1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dfe0ecgainsboro
#dfe0ecgainsboro

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card20.01:1AAA
Primary button8.10:1AAA
Secondary button7.54:1AAA
Muted text4.53:1AA
Accent13.83:1AAA
Destructive7.16:1AAA
Dark mode
Text on background18.96:1AAA
Text on card18.96:1AAA
Primary button8.10:1AAA
Secondary button7.54:1AAA
Muted text6.17:1AA
Accent13.83:1AAA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 283.914);
  --foreground: oklch(0.099 0.035 273.615);
  --muted: oklch(0.91 0.022 14.09);
  --muted-foreground: oklch(0.502 0.013 14.129);
  --popover: oklch(0.99 0.003 283.914);
  --popover-foreground: oklch(0.099 0.035 273.615);
  --card: oklch(0.99 0.003 283.914);
  --card-foreground: oklch(0.099 0.035 273.615);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.908 0.017 283.641);
  --primary-foreground: oklch(0.367 0.065 280.4);
  --secondary: oklch(0.914 0.015 13.924);
  --secondary-foreground: oklch(0.392 0.057 16.76);
  --accent: oklch(0.93 0.022 143.99);
  --accent-foreground: oklch(0.228 0.031 143.302);
  --destructive: oklch(0.342 0.123 29.292);
  --destructive-foreground: oklch(0.833 0.077 23.476);
  --ring: oklch(0.908 0.017 283.641);
  --chart-1: oklch(0.908 0.017 283.641);
  --chart-2: oklch(0.914 0.015 13.924);
  --chart-3: oklch(0.93 0.022 143.99);
  --chart-4: oklch(0.94 0.01 13.82);
  --chart-5: oklch(0.907 0.019 283.601);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.023 278.377);
  --foreground: oklch(0.975 0.003 283.923);
  --muted: oklch(0.201 0.034 17.336);
  --muted-foreground: oklch(0.675 0.012 13.964);
  --popover: oklch(0.11 0.023 278.377);
  --popover-foreground: oklch(0.975 0.003 283.923);
  --card: oklch(0.11 0.023 278.377);
  --card-foreground: oklch(0.975 0.003 283.923);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.908 0.017 283.641);
  --primary-foreground: oklch(0.367 0.065 280.4);
  --secondary: oklch(0.914 0.015 13.924);
  --secondary-foreground: oklch(0.392 0.057 16.76);
  --accent: oklch(0.93 0.022 143.99);
  --accent-foreground: oklch(0.228 0.031 143.302);
  --destructive: oklch(0.603 0.221 29.421);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.908 0.017 283.641);
  --chart-1: oklch(0.908 0.017 283.641);
  --chart-2: oklch(0.914 0.015 13.924);
  --chart-3: oklch(0.93 0.022 143.99);
  --chart-4: oklch(0.94 0.01 13.82);
  --chart-5: oklch(0.907 0.019 283.601);
}