August - Night Owl (Darker) for shadcn/ui

August - Night Owl (Darker) is a shadcn/ui theme built around a muted blue primary color (#5e7d97) with vivid deep blue accents (#053961). The light mode uses a blue-tinted background (#010e18). Dark mode keeps the muted blue primary (#5e7d97) on a blue-tinted background (#010e18).

Color palette

TokenLightDark
Background
#010e18black
#010e18black
Foreground
#55b1f7cornflowerblue
#55b1f7cornflowerblue
Card
#01090fblack
#01090fblack
Card foreground
#6dbcf8lightskyblue
#6dbcf8lightskyblue
Popover
#00060ablack
#00060ablack
Popover foreground
#85c7f9lightskyblue
#85c7f9lightskyblue
Primary
#5e7d97slategray
#5e7d97slategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b7c0c8silver
#b7c0c8silver
Secondary foreground
#21272bdarkslategray
#21272bdarkslategray
Muted
#22272bdarkslategray
#22272bdarkslategray
Muted foreground
#9ba7b0darkgray
#9ba7b0darkgray
Accent
#053961midnightblue
#053961midnightblue
Accent foreground
#9ed2falightskyblue
#9ed2falightskyblue
Destructive
#ed2121crimson
#ed2121crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#051c2eblack
#051c2eblack
Input
#06253cmidnightblue
#06253cmidnightblue
Ring
#5e7d97slategray
#5e7d97slategray

Contrast

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

Light mode
Text on background8.35:1AAA
Text on card9.76:1AAA
Primary button4.31:1AA Large
Secondary button8.19:1AAA
Muted text6.15:1AA
Accent7.37:1AAA
Destructive4.33:1AA Large
Dark mode
Text on background8.35:1AAA
Text on card9.76:1AAA
Primary button4.31:1AA Large
Secondary button8.19:1AAA
Muted text6.15:1AA
Accent7.37:1AAA
Destructive4.33:1AA Large

CSS variables

Paste this into your globals.css to use August - Night Owl (Darker) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.157 0.031 238.032);
  --foreground: oklch(0.733 0.135 244.313);
  --muted: oklch(0.269 0.011 240.84);
  --muted-foreground: oklch(0.722 0.019 240.656);
  --popover: oklch(0.113 0.02 228.632);
  --popover-foreground: oklch(0.804 0.098 242.387);
  --card: oklch(0.13 0.023 230.851);
  --card-foreground: oklch(0.768 0.117 243.211);
  --border: oklch(0.22 0.046 244.529);
  --input: oklch(0.255 0.056 245.749);
  --primary: oklch(0.576 0.053 243.532);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.803 0.015 242.434);
  --secondary-foreground: oklch(0.268 0.011 242.769);
  --accent: oklch(0.337 0.087 248.174);
  --accent-foreground: oklch(0.842 0.079 241.763);
  --destructive: oklch(0.605 0.233 27.887);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.053 243.532);
  --chart-1: oklch(0.576 0.053 243.532);
  --chart-2: oklch(0.803 0.015 242.434);
  --chart-3: oklch(0.337 0.087 248.174);
  --chart-4: oklch(0.827 0.013 242.397);
  --chart-5: oklch(0.576 0.059 243.742);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.031 238.032);
  --foreground: oklch(0.733 0.135 244.313);
  --muted: oklch(0.269 0.011 240.84);
  --muted-foreground: oklch(0.722 0.019 240.656);
  --popover: oklch(0.113 0.02 228.632);
  --popover-foreground: oklch(0.804 0.098 242.387);
  --card: oklch(0.13 0.023 230.851);
  --card-foreground: oklch(0.768 0.117 243.211);
  --border: oklch(0.22 0.046 244.529);
  --input: oklch(0.255 0.056 245.749);
  --primary: oklch(0.576 0.053 243.532);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.803 0.015 242.434);
  --secondary-foreground: oklch(0.268 0.011 242.769);
  --accent: oklch(0.337 0.087 248.174);
  --accent-foreground: oklch(0.842 0.079 241.763);
  --destructive: oklch(0.605 0.233 27.887);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.053 243.532);
  --chart-1: oklch(0.576 0.053 243.532);
  --chart-2: oklch(0.803 0.015 242.434);
  --chart-3: oklch(0.337 0.087 248.174);
  --chart-4: oklch(0.827 0.013 242.397);
  --chart-5: oklch(0.576 0.059 243.742);
}