Overseas Shadowdancer for shadcn/ui

Overseas Shadowdancer is a shadcn/ui theme built around a deep indigo primary color (#1b1a5b) with muted light indigo accents (#c0c0ce). The light mode uses a neutral background (#f7f7fc). Dark mode keeps the deep indigo primary (#1b1a5b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7f7fcghostwhite
#000000black
Foreground
#010104black
#f9f9fbghostwhite
Card
#f4f4fbwhitesmoke
#030303black
Card foreground
#000000black
#fcfcfdwhite
Popover
#f4f4fbwhitesmoke
#030303black
Popover foreground
#000000black
#fcfcfdwhite
Primary
#1b1a5bmidnightblue
#1b1a5bmidnightblue
Primary foreground
#bdbceblightsteelblue
#bdbceblightsteelblue
Secondary
#d2d1d6lightgrey
#2b2b36darkslategray
Secondary foreground
#38383edarkslategray
#c3c3d0silver
Muted
#dddde4gainsboro
#1b1b22black
Muted foreground
#494860darkslategray
#9f9fb7darkgray
Accent
#c0c0cesilver
#3c3b54darkslategray
Accent foreground
#292833darkslategray
#dbdbe6gainsboro
Destructive
#a70401darkred
#f90501red
Destructive foreground
#ffdcdbmistyrose
#ffffffwhite
Border
#e5e5e6gainsboro
#232324black
Input
#e5e5e6gainsboro
#232324black
Ring
#1b1a5bmidnightblue
#1b1a5bmidnightblue

Contrast

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

Light mode
Text on background19.59:1AAA
Text on card19.12:1AAA
Primary button8.56:1AAA
Secondary button7.68:1AAA
Muted text6.51:1AA
Accent8.08:1AAA
Destructive6.18:1AA
Dark mode
Text on background19.97:1AAA
Text on card20.16:1AAA
Primary button8.56:1AAA
Secondary button8.04:1AAA
Muted text6.61:1AA
Accent7.84:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.979 0.007 287.045);
  --foreground: oklch(0.077 0.015 283.326);
  --muted: oklch(0.899 0.01 286.966);
  --muted-foreground: oklch(0.413 0.039 285.316);
  --popover: oklch(0.968 0.01 286.98);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.968 0.01 286.98);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.922 0.001 287.142);
  --input: oklch(0.922 0.001 287.142);
  --primary: oklch(0.269 0.112 276.543);
  --primary-foreground: oklch(0.811 0.067 285.572);
  --secondary: oklch(0.864 0.006 287.044);
  --secondary-foreground: oklch(0.342 0.01 286.616);
  --accent: oklch(0.813 0.019 286.741);
  --accent-foreground: oklch(0.283 0.02 285.808);
  --destructive: oklch(0.46 0.187 29.398);
  --destructive-foreground: oklch(0.923 0.039 19.032);
  --ring: oklch(0.269 0.112 276.543);
  --chart-1: oklch(0.269 0.112 276.543);
  --chart-2: oklch(0.864 0.006 287.044);
  --chart-3: oklch(0.813 0.019 286.741);
  --chart-4: oklch(0.888 0.005 287.07);
  --chart-5: oklch(0.267 0.117 275.678);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.982 0.003 287.119);
  --muted: oklch(0.225 0.014 285.968);
  --muted-foreground: oklch(0.711 0.034 286.264);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.991 0.001 287.145);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.991 0.001 287.145);
  --border: oklch(0.257 0.003 286.98);
  --input: oklch(0.257 0.003 286.98);
  --primary: oklch(0.269 0.112 276.543);
  --primary-foreground: oklch(0.811 0.067 285.572);
  --secondary: oklch(0.293 0.021 285.789);
  --secondary-foreground: oklch(0.821 0.018 286.767);
  --accent: oklch(0.364 0.042 284.902);
  --accent-foreground: oklch(0.895 0.014 286.878);
  --destructive: oklch(0.617 0.252 29.334);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.269 0.112 276.543);
  --chart-1: oklch(0.269 0.112 276.543);
  --chart-2: oklch(0.293 0.021 285.789);
  --chart-3: oklch(0.364 0.042 284.902);
  --chart-4: oklch(0.321 0.024 285.739);
  --chart-5: oklch(0.267 0.117 275.678);
}