Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

August - Night Owl for shadcn/ui

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

Color palette

TokenLightDark
Background
#011628black
#011628black
Foreground
#60b5fbcornflowerblue
#60b5fbcornflowerblue
Card
#01111eblack
#01111eblack
Card foreground
#79c1fclightskyblue
#79c1fclightskyblue
Popover
#010e19black
#010e19black
Popover foreground
#92ccfclightskyblue
#92ccfclightskyblue
Primary
#5e7d97slategray
#5e7d97slategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b7c0c8silver
#b7c0c8silver
Secondary foreground
#21272bdarkslategray
#21272bdarkslategray
Muted
#22272bdarkslategray
#22272bdarkslategray
Muted foreground
#9ba7b0darkgray
#9ba7b0darkgray
Accent
#034072midnightblue
#034072midnightblue
Accent foreground
#aad8fdlightblue
#aad8fdlightblue
Destructive
#f02719orangered
#f02719orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#05243dmidnightblue
#05243dmidnightblue
Input
#062c4bmidnightblue
#062c4bmidnightblue
Ring
#5e7d97slategray
#5e7d97slategray

Contrast

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

Light mode
Text on background8.26:1AAA
Text on card9.87:1AAA
Primary button4.31:1AA Large
Secondary button8.19:1AAA
Muted text6.15:1AA
Accent7.02:1AAA
Destructive4.18:1AA Large
Dark mode
Text on background8.26:1AAA
Text on card9.87:1AAA
Primary button4.31:1AA Large
Secondary button8.19:1AAA
Muted text6.15:1AA
Accent7.02:1AAA
Destructive4.18:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.194 0.046 244.378);
  --foreground: oklch(0.749 0.131 245.493);
  --muted: oklch(0.268 0.011 242.723);
  --muted-foreground: oklch(0.722 0.019 242.55);
  --popover: oklch(0.156 0.033 239.225);
  --popover-foreground: oklch(0.823 0.091 243.881);
  --card: oklch(0.169 0.037 241.449);
  --card-foreground: oklch(0.785 0.111 244.57);
  --border: oklch(0.253 0.06 247.496);
  --input: oklch(0.287 0.07 248.306);
  --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.367 0.103 250.423);
  --accent-foreground: oklch(0.862 0.07 243.356);
  --destructive: oklch(0.614 0.233 29.656);
  --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.367 0.103 250.423);
  --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.194 0.046 244.378);
  --foreground: oklch(0.749 0.131 245.493);
  --muted: oklch(0.268 0.011 242.723);
  --muted-foreground: oklch(0.722 0.019 242.55);
  --popover: oklch(0.156 0.033 239.225);
  --popover-foreground: oklch(0.823 0.091 243.881);
  --card: oklch(0.169 0.037 241.449);
  --card-foreground: oklch(0.785 0.111 244.57);
  --border: oklch(0.253 0.06 247.496);
  --input: oklch(0.287 0.07 248.306);
  --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.367 0.103 250.423);
  --accent-foreground: oklch(0.862 0.07 243.356);
  --destructive: oklch(0.614 0.233 29.656);
  --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.367 0.103 250.423);
  --chart-4: oklch(0.827 0.013 242.397);
  --chart-5: oklch(0.576 0.059 243.742);
}