August - Nord for shadcn/ui

August - Nord is a shadcn/ui theme built around a muted blue primary color (#7c89a2) with muted blue accents (#475062). The light mode uses a blue-tinted background (#272b35). Dark mode keeps the muted blue primary (#7c89a2) on a blue-tinted background (#272b35).

Color palette

TokenLightDark
Background
#272b35darkslategray
#272b35darkslategray
Foreground
#bec4d0silver
#bec4d0silver
Card
#22272fdarkslategray
#22272fdarkslategray
Card foreground
#cdd1dblightgrey
#cdd1dblightgrey
Popover
#20242cdarkslategray
#20242cdarkslategray
Popover foreground
#dcdfe5gainsboro
#dcdfe5gainsboro
Primary
#7c89a2lightslategray
#7c89a2lightslategray
Primary foreground
#000000black
#000000black
Secondary
#3b3e44darkslategray
#3b3e44darkslategray
Secondary foreground
#d6d8dbgainsboro
#d6d8dbgainsboro
Muted
#31363fdarkslategray
#31363fdarkslategray
Muted foreground
#afb5c0silver
#afb5c0silver
Accent
#475062darkslategray
#475062darkslategray
Accent foreground
#eaecf0lavender
#eaecf0lavender
Destructive
#f62d0eorangered
#f62d0eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#37393edarkslategray
#37393edarkslategray
Input
#3e4146darkslategray
#3e4146darkslategray
Ring
#7c89a2lightslategray
#7c89a2lightslategray

Contrast

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

Light mode
Text on background8.05:1AAA
Text on card9.84:1AAA
Primary button5.95:1AA
Secondary button7.46:1AAA
Muted text5.89:1AA
Accent6.88:1AA
Destructive3.95:1AA Large
Dark mode
Text on background8.05:1AAA
Text on card9.84:1AAA
Primary button5.95:1AA
Secondary button7.46:1AAA
Muted text5.89:1AA
Accent6.88:1AA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.29 0.019 264.213);
  --foreground: oklch(0.819 0.018 264.469);
  --muted: oklch(0.332 0.017 264.31);
  --muted-foreground: oklch(0.771 0.017 264.466);
  --popover: oklch(0.261 0.016 264.234);
  --popover-foreground: oklch(0.902 0.01 264.516);
  --card: oklch(0.271 0.017 264.226);
  --card-foreground: oklch(0.861 0.014 264.495);
  --border: oklch(0.346 0.009 264.453);
  --input: oklch(0.375 0.01 264.451);
  --primary: oklch(0.628 0.041 262.817);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.365 0.011 262.976);
  --secondary-foreground: oklch(0.882 0.005 263.043);
  --accent: oklch(0.429 0.032 264.155);
  --accent-foreground: oklch(0.943 0.006 264.533);
  --destructive: oklch(0.627 0.236 31.265);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.041 262.817);
  --chart-1: oklch(0.628 0.041 262.817);
  --chart-2: oklch(0.365 0.011 262.976);
  --chart-3: oklch(0.429 0.032 264.155);
  --chart-4: oklch(0.393 0.012 262.974);
  --chart-5: oklch(0.625 0.048 262.751);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.29 0.019 264.213);
  --foreground: oklch(0.819 0.018 264.469);
  --muted: oklch(0.332 0.017 264.31);
  --muted-foreground: oklch(0.771 0.017 264.466);
  --popover: oklch(0.261 0.016 264.234);
  --popover-foreground: oklch(0.902 0.01 264.516);
  --card: oklch(0.271 0.017 264.226);
  --card-foreground: oklch(0.861 0.014 264.495);
  --border: oklch(0.346 0.009 264.453);
  --input: oklch(0.375 0.01 264.451);
  --primary: oklch(0.628 0.041 262.817);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.365 0.011 262.976);
  --secondary-foreground: oklch(0.882 0.005 263.043);
  --accent: oklch(0.429 0.032 264.155);
  --accent-foreground: oklch(0.943 0.006 264.533);
  --destructive: oklch(0.627 0.236 31.265);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.041 262.817);
  --chart-1: oklch(0.628 0.041 262.817);
  --chart-2: oklch(0.365 0.011 262.976);
  --chart-3: oklch(0.429 0.032 264.155);
  --chart-4: oklch(0.393 0.012 262.974);
  --chart-5: oklch(0.625 0.048 262.751);
}