Night Wolf (dark blue) for shadcn/ui

Night Wolf (dark blue) is a shadcn/ui theme built around a vivid purple primary color (#ff52ff) with deep blue accents (#244565). The light mode uses a blue-tinted background (#101f2d). Dark mode keeps the vivid purple primary (#ff52ff) on a blue-tinted background (#101f2d).

Color palette

TokenLightDark
Background
#101f2dblack
#101f2dblack
Foreground
#bcd1e7lightblue
#bcd1e7lightblue
Card
#0e1925black
#0e1925black
Card foreground
#cedeedgainsboro
#cedeedgainsboro
Popover
#0c1722black
#0c1722black
Popover foreground
#e1ebf4lavender
#e1ebf4lavender
Primary
#ff52ffviolet
#ff52ffviolet
Primary foreground
#1f001fblack
#1f001fblack
Secondary
#532d53darkslategray
#532d53darkslategray
Secondary foreground
#e4cde4gainsboro
#e4cde4gainsboro
Muted
#24292edarkslategray
#24292edarkslategray
Muted foreground
#9ea8b3darkgray
#9ea8b3darkgray
Accent
#244565darkslategray
#244565darkslategray
Accent foreground
#cedeedgainsboro
#cedeedgainsboro
Destructive
#ef3e2etomato
#ef3e2etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1b2b3bdarkslategray
#1b2b3bdarkslategray
Input
#203346darkslategray
#203346darkslategray
Ring
#ff52ffviolet
#ff52ffviolet

Contrast

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

Light mode
Text on background10.71:1AAA
Text on card12.86:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text6.09:1AA
Accent7.23:1AAA
Destructive3.87:1AA Large
Dark mode
Text on background10.71:1AAA
Text on card12.86:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text6.09:1AA
Accent7.23:1AAA
Destructive3.87:1AA Large

CSS variables

Paste this into your globals.css to use Night Wolf (dark blue) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.232 0.034 249.506);
  --foreground: oklch(0.852 0.038 248.274);
  --muted: oklch(0.277 0.011 248.24);
  --muted-foreground: oklch(0.728 0.019 248.091);
  --popover: oklch(0.2 0.027 249.303);
  --popover-foreground: oklch(0.934 0.017 248.005);
  --card: oklch(0.211 0.029 249.378);
  --card-foreground: oklch(0.893 0.027 248.133);
  --border: oklch(0.284 0.037 249.227);
  --input: oklch(0.314 0.042 249.294);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.381 0.068 250.014);
  --accent-foreground: oklch(0.893 0.027 248.133);
  --destructive: oklch(0.63 0.215 29.609);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.381 0.068 250.014);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.232 0.034 249.506);
  --foreground: oklch(0.852 0.038 248.274);
  --muted: oklch(0.277 0.011 248.24);
  --muted-foreground: oklch(0.728 0.019 248.091);
  --popover: oklch(0.2 0.027 249.303);
  --popover-foreground: oklch(0.934 0.017 248.005);
  --card: oklch(0.211 0.029 249.378);
  --card-foreground: oklch(0.893 0.027 248.133);
  --border: oklch(0.284 0.037 249.227);
  --input: oklch(0.314 0.042 249.294);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.381 0.068 250.014);
  --accent-foreground: oklch(0.893 0.027 248.133);
  --destructive: oklch(0.63 0.215 29.609);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.381 0.068 250.014);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}