Night Owl Light (No Italics) for shadcn/ui

Night Owl Light (No Italics) is a shadcn/ui theme built around a muted deep indigo primary color (#414054) with neutral gray accents (#d4d4d4). The light mode uses a neutral background (#fafafa). Dark mode keeps the muted deep indigo primary (#414054) on a neutral background (#fafafa).

Color palette

TokenLightDark
Background
#fafafasnow
#fafafasnow
Foreground
#414054darkslategray
#414054darkslategray
Card
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Card foreground
#353546darkslategray
#353546darkslategray
Popover
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Popover foreground
#2a2a37darkslategray
#2a2a37darkslategray
Primary
#414054darkslategray
#414054darkslategray
Primary foreground
#dfdfe7gainsboro
#dfdfe7gainsboro
Secondary
#bdbdc2silver
#bdbdc2silver
Secondary foreground
#252528darkslategray
#252528darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#d4d4d4lightgrey
#d4d4d4lightgrey
Accent foreground
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Destructive
#6a150cmaroon
#6a150cmaroon
Destructive foreground
#f6b8b1lightpink
#f6b8b1lightpink
Border
#edededwhitesmoke
#edededwhitesmoke
Input
#e6e6e6gainsboro
#e6e6e6gainsboro
Ring
#414054darkslategray
#414054darkslategray

Contrast

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

Light mode
Text on background9.63:1AAA
Text on card10.99:1AAA
Primary button7.63:1AAA
Secondary button8.14:1AAA
Muted text7.22:1AAA
Accent7.53:1AAA
Destructive7.21:1AAA
Dark mode
Text on background9.63:1AAA
Text on card10.99:1AAA
Primary button7.63:1AAA
Secondary button8.14:1AAA
Muted text7.22:1AAA
Accent7.53:1AAA
Destructive7.21:1AAA

CSS variables

Paste this into your globals.css to use Night Owl Light (No Italics) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0 180);
  --foreground: oklch(0.38 0.035 286.889);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.962 0 180);
  --popover-foreground: oklch(0.29 0.025 287.051);
  --card: oklch(0.97 0 180);
  --card-foreground: oklch(0.336 0.03 286.957);
  --border: oklch(0.947 0 180);
  --input: oklch(0.923 0 153.435);
  --primary: oklch(0.38 0.035 286.889);
  --primary-foreground: oklch(0.906 0.011 288.49);
  --secondary: oklch(0.799 0.007 288.543);
  --secondary-foreground: oklch(0.265 0.006 288.309);
  --accent: oklch(0.869 0 165.964);
  --accent-foreground: oklch(0.351 0 167.471);
  --destructive: oklch(0.344 0.119 30.365);
  --destructive-foreground: oklch(0.838 0.074 25.947);
  --ring: oklch(0.38 0.035 286.889);
  --chart-1: oklch(0.38 0.035 286.889);
  --chart-2: oklch(0.799 0.007 288.543);
  --chart-3: oklch(0.869 0 165.964);
  --chart-4: oklch(0.824 0.006 288.569);
  --chart-5: oklch(0.374 0.043 286.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.985 0 180);
  --foreground: oklch(0.38 0.035 286.889);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.962 0 180);
  --popover-foreground: oklch(0.29 0.025 287.051);
  --card: oklch(0.97 0 180);
  --card-foreground: oklch(0.336 0.03 286.957);
  --border: oklch(0.947 0 180);
  --input: oklch(0.923 0 153.435);
  --primary: oklch(0.38 0.035 286.889);
  --primary-foreground: oklch(0.906 0.011 288.49);
  --secondary: oklch(0.799 0.007 288.543);
  --secondary-foreground: oklch(0.265 0.006 288.309);
  --accent: oklch(0.869 0 165.964);
  --accent-foreground: oklch(0.351 0 167.471);
  --destructive: oklch(0.344 0.119 30.365);
  --destructive-foreground: oklch(0.838 0.074 25.947);
  --ring: oklch(0.38 0.035 286.889);
  --chart-1: oklch(0.38 0.035 286.889);
  --chart-2: oklch(0.799 0.007 288.543);
  --chart-3: oklch(0.869 0 165.964);
  --chart-4: oklch(0.824 0.006 288.569);
  --chart-5: oklch(0.374 0.043 286.42);
}