Beaded Blue Duck? for shadcn/ui

Beaded Blue Duck? is a shadcn/ui theme built around an indigo primary color (#494b88) with muted light indigo accents (#e0e0e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#494b88) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#ffffffwhite
#020203black
Foreground
#010104black
#ffffffwhite
Card
#fcfcfcsnow
#030307black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#020203black
Popover foreground
#010104black
#ffffffwhite
Primary
#494b88darkslateblue
#494b88darkslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e0e0e6gainsboro
#21212cdarkslategray
Secondary foreground
#434351darkslategray
#b6b6c9silver
Muted
#d3d3delightgrey
#21212cdarkslategray
Muted foreground
#54545fdimgray
#a0a1abdarkgray
Accent
#e0e0e6gainsboro
#21212cdarkslategray
Accent foreground
#434351darkslategray
#b6b6c9silver
Destructive
#b02107firebrick
#f63e1eorangered
Destructive foreground
#feeeeblinen
#ffffffwhite
Border
#e9e9edlavender
#19191fblack
Input
#e9e9edlavender
#19191fblack
Ring
#494b88darkslateblue
#494b88darkslateblue

Contrast

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

Light mode
Text on background20.84:1AAA
Text on card20.54:1AAA
Primary button7.91:1AAA
Secondary button7.41:1AAA
Muted text5.04:1AA
Accent7.41:1AAA
Destructive6.07:1AA
Dark mode
Text on background20.76:1AAA
Text on card20.54:1AAA
Primary button7.91:1AAA
Secondary button7.99:1AAA
Muted text6.21:1AA
Accent7.99:1AAA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Beaded Blue Duck? in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.076 0.016 279.717);
  --muted: oklch(0.871 0.015 284.497);
  --muted-foreground: oklch(0.45 0.017 284.131);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.076 0.016 279.717);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.934 0.005 284.708);
  --input: oklch(0.934 0.005 284.708);
  --primary: oklch(0.442 0.098 280.071);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.909 0.007 284.665);
  --secondary-foreground: oklch(0.388 0.024 283.655);
  --accent: oklch(0.909 0.007 284.665);
  --accent-foreground: oklch(0.388 0.024 283.655);
  --destructive: oklch(0.491 0.182 31.827);
  --destructive-foreground: oklch(0.962 0.018 29.54);
  --ring: oklch(0.442 0.098 280.071);
  --chart-1: oklch(0.442 0.098 280.071);
  --chart-2: oklch(0.909 0.007 284.665);
  --chart-3: oklch(0.909 0.007 284.665);
  --chart-4: oklch(0.934 0.005 284.708);
  --chart-5: oklch(0.435 0.108 279.407);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.083 0.01 282.138);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.252 0.021 283.241);
  --muted-foreground: oklch(0.711 0.015 284.432);
  --popover: oklch(0.083 0.01 282.138);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.104 0.012 282.138);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.218 0.011 283.918);
  --input: oklch(0.218 0.011 283.918);
  --primary: oklch(0.442 0.098 280.071);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.252 0.021 283.241);
  --secondary-foreground: oklch(0.783 0.026 284.205);
  --accent: oklch(0.252 0.021 283.241);
  --accent-foreground: oklch(0.783 0.026 284.205);
  --destructive: oklch(0.639 0.224 32.223);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.442 0.098 280.071);
  --chart-1: oklch(0.442 0.098 280.071);
  --chart-2: oklch(0.252 0.021 283.241);
  --chart-3: oklch(0.252 0.021 283.241);
  --chart-4: oklch(0.28 0.024 283.155);
  --chart-5: oklch(0.435 0.108 279.407);
}