August - City Lights (Darker) for shadcn/ui

August - City Lights (Darker) is a shadcn/ui theme built around a muted blue primary color (#8195a7) with muted deep blue accents (#344250). The light mode uses a blue-tinted background (#161c22). Dark mode keeps the muted blue primary (#8195a7) on a blue-tinted background (#161c22).

Color palette

TokenLightDark
Background
#161c22black
#161c22black
Foreground
#8195a7lightslategray
#8195a7lightslategray
Card
#12171cblack
#12171cblack
Card foreground
#90a1b2darkgray
#90a1b2darkgray
Popover
#101419black
#101419black
Popover foreground
#9faebcdarkgray
#9faebcdarkgray
Primary
#8195a7lightslategray
#8195a7lightslategray
Primary foreground
#000000black
#000000black
Secondary
#3b4045darkslategray
#3b4045darkslategray
Secondary foreground
#d6d9dcgainsboro
#d6d9dcgainsboro
Muted
#22262bdarkslategray
#22262bdarkslategray
Muted foreground
#9ba6b0darkgray
#9ba6b0darkgray
Accent
#344250darkslategray
#344250darkslategray
Accent foreground
#d4dbe3gainsboro
#d4dbe3gainsboro
Destructive
#ff0505red
#ff0505red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#24292ddarkslategray
#24292ddarkslategray
Input
#2b3036darkslategray
#2b3036darkslategray
Ring
#8195a7lightslategray
#8195a7lightslategray

Contrast

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

Light mode
Text on background5.54:1AA
Text on card6.80:1AA
Primary button6.75:1AA
Secondary button7.40:1AAA
Muted text6.13:1AA
Accent7.33:1AAA
Destructive3.98:1AA Large
Dark mode
Text on background5.54:1AA
Text on card6.80:1AA
Primary button6.75:1AA
Secondary button7.40:1AAA
Muted text6.13:1AA
Accent7.33:1AAA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.223 0.015 248.477);
  --foreground: oklch(0.659 0.036 246.588);
  --muted: oklch(0.267 0.011 248.233);
  --muted-foreground: oklch(0.719 0.02 248.103);
  --popover: oklch(0.19 0.011 248.403);
  --popover-foreground: oklch(0.743 0.027 246.374);
  --card: oklch(0.202 0.012 248.431);
  --card-foreground: oklch(0.701 0.031 246.473);
  --border: oklch(0.277 0.01 248.206);
  --input: oklch(0.308 0.012 248.222);
  --primary: oklch(0.659 0.036 246.588);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.368 0.011 246.308);
  --secondary-foreground: oklch(0.883 0.005 246.036);
  --accent: oklch(0.374 0.03 248.639);
  --accent-foreground: oklch(0.889 0.013 247.975);
  --destructive: oklch(0.629 0.257 29.107);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.659 0.036 246.588);
  --chart-1: oklch(0.659 0.036 246.588);
  --chart-2: oklch(0.368 0.011 246.308);
  --chart-3: oklch(0.374 0.03 248.639);
  --chart-4: oklch(0.397 0.012 246.314);
  --chart-5: oklch(0.658 0.042 246.695);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.223 0.015 248.477);
  --foreground: oklch(0.659 0.036 246.588);
  --muted: oklch(0.267 0.011 248.233);
  --muted-foreground: oklch(0.719 0.02 248.103);
  --popover: oklch(0.19 0.011 248.403);
  --popover-foreground: oklch(0.743 0.027 246.374);
  --card: oklch(0.202 0.012 248.431);
  --card-foreground: oklch(0.701 0.031 246.473);
  --border: oklch(0.277 0.01 248.206);
  --input: oklch(0.308 0.012 248.222);
  --primary: oklch(0.659 0.036 246.588);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.368 0.011 246.308);
  --secondary-foreground: oklch(0.883 0.005 246.036);
  --accent: oklch(0.374 0.03 248.639);
  --accent-foreground: oklch(0.889 0.013 247.975);
  --destructive: oklch(0.629 0.257 29.107);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.659 0.036 246.588);
  --chart-1: oklch(0.659 0.036 246.588);
  --chart-2: oklch(0.368 0.011 246.308);
  --chart-3: oklch(0.374 0.03 248.639);
  --chart-4: oklch(0.397 0.012 246.314);
  --chart-5: oklch(0.658 0.042 246.695);
}