Noctis Azureus for shadcn/ui

Noctis Azureus is a shadcn/ui theme built around a vivid blue primary color (#1679b6) with vivid deep blue accents (#0f5580). The light mode uses a blue-tinted background (#07273b). Dark mode keeps the vivid blue primary (#1679b6) on a blue-tinted background (#07273b).

Color palette

TokenLightDark
Background
#07273bmidnightblue
#07273bmidnightblue
Foreground
#becfdalightsteelblue
#becfdalightsteelblue
Card
#062132black
#062132black
Card foreground
#cedbe3gainsboro
#cedbe3gainsboro
Popover
#051e2eblack
#051e2eblack
Popover foreground
#dfe7eclavender
#dfe7eclavender
Primary
#1679b6steelblue
#1679b6steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acc4d2lightsteelblue
#acc4d2lightsteelblue
Secondary foreground
#1b2932darkslategray
#1b2932darkslategray
Muted
#262d31darkslategray
#262d31darkslategray
Muted foreground
#a1adb5darkgray
#a1adb5darkgray
Accent
#0f5580teal
#0f5580teal
Accent foreground
#c8e6f9paleturquoise
#c8e6f9paleturquoise
Destructive
#fe3010orangered
#fe3010orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#0e354edarkslategray
#0e354edarkslategray
Input
#113e5adarkslategray
#113e5adarkslategray
Ring
#1679b6steelblue
#1679b6steelblue

Contrast

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

Light mode
Text on background9.60:1AAA
Text on card11.66:1AAA
Primary button4.75:1AA
Secondary button8.20:1AAA
Muted text6.12:1AA
Accent6.16:1AA
Destructive3.72:1AA Large
Dark mode
Text on background9.60:1AAA
Text on card11.66:1AAA
Primary button4.75:1AA
Secondary button8.20:1AAA
Muted text6.12:1AA
Accent6.16:1AA
Destructive3.72:1AA Large

CSS variables

Paste this into your globals.css to use Noctis Azureus in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.262 0.053 240.63);
  --foreground: oklch(0.845 0.024 236.851);
  --muted: oklch(0.291 0.012 235.121);
  --muted-foreground: oklch(0.741 0.018 234.865);
  --popover: oklch(0.225 0.043 239.445);
  --popover-foreground: oklch(0.923 0.012 236.617);
  --card: oklch(0.238 0.046 239.92);
  --card-foreground: oklch(0.884 0.018 236.726);
  --border: oklch(0.316 0.061 240.336);
  --input: oklch(0.349 0.069 240.644);
  --primary: oklch(0.552 0.126 243.156);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.033 235.14);
  --secondary-foreground: oklch(0.272 0.025 236.219);
  --accent: oklch(0.43 0.096 242.677);
  --accent-foreground: oklch(0.909 0.04 235.201);
  --destructive: oklch(0.643 0.241 31.319);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.126 243.156);
  --chart-1: oklch(0.552 0.126 243.156);
  --chart-2: oklch(0.806 0.033 235.14);
  --chart-3: oklch(0.43 0.096 242.677);
  --chart-4: oklch(0.83 0.029 235.036);
  --chart-5: oklch(0.555 0.13 243.659);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.262 0.053 240.63);
  --foreground: oklch(0.845 0.024 236.851);
  --muted: oklch(0.291 0.012 235.121);
  --muted-foreground: oklch(0.741 0.018 234.865);
  --popover: oklch(0.225 0.043 239.445);
  --popover-foreground: oklch(0.923 0.012 236.617);
  --card: oklch(0.238 0.046 239.92);
  --card-foreground: oklch(0.884 0.018 236.726);
  --border: oklch(0.316 0.061 240.336);
  --input: oklch(0.349 0.069 240.644);
  --primary: oklch(0.552 0.126 243.156);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.806 0.033 235.14);
  --secondary-foreground: oklch(0.272 0.025 236.219);
  --accent: oklch(0.43 0.096 242.677);
  --accent-foreground: oklch(0.909 0.04 235.201);
  --destructive: oklch(0.643 0.241 31.319);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.126 243.156);
  --chart-1: oklch(0.552 0.126 243.156);
  --chart-2: oklch(0.806 0.033 235.14);
  --chart-3: oklch(0.43 0.096 242.677);
  --chart-4: oklch(0.83 0.029 235.036);
  --chart-5: oklch(0.555 0.13 243.659);
}