Scoop of Dark Matter Gazelle for shadcn/ui

Scoop of Dark Matter Gazelle is a shadcn/ui theme built around a vivid deep indigo primary color (#0a0057) with neutral gray accents (#c8c8c8). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the vivid deep indigo primary (#0a0057) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7f7fdghostwhite
#000000black
Foreground
#050317black
#f8f8fcghostwhite
Card
#f7f7fdghostwhite
#000000black
Card foreground
#050317black
#f8f8fcghostwhite
Popover
#f7f7fdghostwhite
#000000black
Popover foreground
#050317black
#f8f8fcghostwhite
Primary
#0a0057midnightblue
#0a0057midnightblue
Primary foreground
#f5f5f5whitesmoke
#978affmediumpurple
Secondary
#7d21a9rebeccapurple
#002157midnightblue
Secondary foreground
#ffffffwhite
#8ab7fflightskyblue
Muted
#dfe6f1lavender
#0e1520black
Muted foreground
#38404cdarkslategray
#b3bac7silver
Accent
#c8c8c8silver
#350057midnightblue
Accent foreground
#000000black
#d28affviolet
Destructive
#b54312firebrick
#eb6d37tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e4e4e7gainsboro
#1d1c21black
Input
#e4e4e7gainsboro
#1d1c21black
Ring
#0a0057midnightblue
#0a0057midnightblue

Contrast

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

Light mode
Text on background19.03:1AAA
Text on card19.03:1AAA
Primary button16.75:1AAA
Secondary button7.87:1AAA
Muted text8.33:1AAA
Accent12.56:1AAA
Destructive5.56:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button6.43:1AA
Secondary button7.58:1AAA
Muted text9.39:1AAA
Accent6.83:1AA
Destructive6.80:1AA

CSS variables

Paste this into your globals.css to use Scoop of Dark Matter Gazelle in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.977 0.009 291.609);
  --foreground: oklch(0.12 0.048 284.79);
  --muted: oklch(0.923 0.017 259.946);
  --muted-foreground: oklch(0.369 0.023 259.891);
  --popover: oklch(0.977 0.009 291.609);
  --popover-foreground: oklch(0.12 0.048 284.79);
  --card: oklch(0.977 0.009 291.609);
  --card-foreground: oklch(0.12 0.048 284.79);
  --border: oklch(0.919 0.005 291.681);
  --input: oklch(0.919 0.005 291.681);
  --primary: oklch(0.212 0.139 270.548);
  --primary-foreground: oklch(0.971 0 180);
  --secondary: oklch(0.463 0.203 311.665);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.833 0 169.695);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.534 0.158 39.921);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.212 0.139 270.548);
  --chart-1: oklch(0.212 0.139 270.548);
  --chart-2: oklch(0.266 0.104 259.273);
  --chart-3: oklch(0.263 0.136 305.918);
  --chart-4: oklch(0.294 0.119 259.773);
  --chart-5: oklch(0.212 0.142 269.834);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.005 291.681);
  --muted: oklch(0.194 0.025 259.71);
  --muted-foreground: oklch(0.788 0.019 259.945);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.98 0.005 291.681);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.98 0.005 291.681);
  --border: oklch(0.231 0.008 291.102);
  --input: oklch(0.231 0.008 291.102);
  --primary: oklch(0.212 0.139 270.548);
  --primary-foreground: oklch(0.696 0.168 286.529);
  --secondary: oklch(0.266 0.104 259.273);
  --secondary-foreground: oklch(0.775 0.115 259.649);
  --accent: oklch(0.263 0.136 305.918);
  --accent-foreground: oklch(0.75 0.177 311.232);
  --destructive: oklch(0.679 0.17 42.032);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.212 0.139 270.548);
  --chart-1: oklch(0.212 0.139 270.548);
  --chart-2: oklch(0.266 0.104 259.273);
  --chart-3: oklch(0.263 0.136 305.918);
  --chart-4: oklch(0.294 0.119 259.773);
  --chart-5: oklch(0.212 0.142 269.834);
}