August - City Lights for shadcn/ui

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

Color palette

TokenLightDark
Background
#1c242bdarkslategray
#1c242bdarkslategray
Foreground
#afbecblightsteelblue
#afbecblightsteelblue
Card
#181f25black
#181f25black
Card foreground
#becad5lightsteelblue
#becad5lightsteelblue
Popover
#161c22black
#161c22black
Popover foreground
#ced7dflightgrey
#ced7dflightgrey
Primary
#8195a7lightslategray
#8195a7lightslategray
Primary foreground
#000000black
#000000black
Secondary
#3b4045darkslategray
#3b4045darkslategray
Secondary foreground
#d6d9dcgainsboro
#d6d9dcgainsboro
Muted
#282e33darkslategray
#282e33darkslategray
Muted foreground
#a4aeb7darkgray
#a4aeb7darkgray
Accent
#3a4b59darkslategray
#3a4b59darkslategray
Accent foreground
#dde3e9gainsboro
#dde3e9gainsboro
Destructive
#d32f12firebrick
#d32f12firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2b3136darkslategray
#2b3136darkslategray
Input
#32393edarkslategray
#32393edarkslategray
Ring
#8195a7lightslategray
#8195a7lightslategray

Contrast

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

Light mode
Text on background8.24:1AAA
Text on card9.98:1AAA
Primary button6.75:1AA
Secondary button7.40:1AAA
Muted text6.06:1AA
Accent6.95:1AA
Destructive5.00:1AA
Dark mode
Text on background8.24:1AAA
Text on card9.98:1AAA
Primary button6.75:1AA
Secondary button7.40:1AAA
Muted text6.06:1AA
Accent6.95:1AA
Destructive5.00:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.256 0.018 244.961);
  --foreground: oklch(0.793 0.025 244.476);
  --muted: oklch(0.299 0.012 244.609);
  --muted-foreground: oklch(0.746 0.018 244.383);
  --popover: oklch(0.224 0.014 244.895);
  --popover-foreground: oklch(0.874 0.015 244.301);
  --card: oklch(0.235 0.015 244.919);
  --card-foreground: oklch(0.834 0.02 244.383);
  --border: oklch(0.309 0.012 244.571);
  --input: oklch(0.339 0.014 244.587);
  --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.404 0.032 245.125);
  --accent-foreground: oklch(0.914 0.01 244.227);
  --destructive: oklch(0.566 0.203 32.071);
  --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.404 0.032 245.125);
  --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.256 0.018 244.961);
  --foreground: oklch(0.793 0.025 244.476);
  --muted: oklch(0.299 0.012 244.609);
  --muted-foreground: oklch(0.746 0.018 244.383);
  --popover: oklch(0.224 0.014 244.895);
  --popover-foreground: oklch(0.874 0.015 244.301);
  --card: oklch(0.235 0.015 244.919);
  --card-foreground: oklch(0.834 0.02 244.383);
  --border: oklch(0.309 0.012 244.571);
  --input: oklch(0.339 0.014 244.587);
  --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.404 0.032 245.125);
  --accent-foreground: oklch(0.914 0.01 244.227);
  --destructive: oklch(0.566 0.203 32.071);
  --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.404 0.032 245.125);
  --chart-4: oklch(0.397 0.012 246.314);
  --chart-5: oklch(0.658 0.042 246.695);
}