Noctis Sereno for shadcn/ui

Noctis Sereno is a shadcn/ui theme built around a vivid cyan primary color (#169fb1) with vivid deep cyan accents (#0e6e77). The light mode uses a cyan-tinted background (#062f32). Dark mode keeps the vivid cyan primary (#169fb1) on a cyan-tinted background (#062f32).

Color palette

TokenLightDark
Background
#062f32darkslategray
#062f32darkslategray
Foreground
#b2cacdlightsteelblue
#b2cacdlightsteelblue
Card
#052629black
#052629black
Card foreground
#c1d4d7lightgrey
#c1d4d7lightgrey
Popover
#042225black
#042225black
Popover foreground
#d1dfe1gainsboro
#d1dfe1gainsboro
Primary
#169fb1lightseagreen
#169fb1lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acced2lightsteelblue
#acced2lightsteelblue
Secondary foreground
#1b2f32darkslategray
#1b2f32darkslategray
Muted
#222a2bdarkslategray
#222a2bdarkslategray
Muted foreground
#9bafb0darkgray
#9bafb0darkgray
Accent
#0e6e77teal
#0e6e77teal
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#f02419crimson
#f02419crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#0d4045darkslategray
#0d4045darkslategray
Input
#0f4c52darkslategray
#0f4c52darkslategray
Ring
#169fb1lightseagreen
#169fb1lightseagreen

Contrast

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

Light mode
Text on background8.41:1AAA
Text on card10.38:1AAA
Primary button3.17:1AA Large
Secondary button8.34:1AAA
Muted text6.38:1AA
Accent5.98:1AA
Destructive4.21:1AA Large
Dark mode
Text on background8.41:1AAA
Text on card10.38:1AAA
Primary button3.17:1AA Large
Secondary button8.34:1AAA
Muted text6.38:1AA
Accent5.98:1AA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.278 0.043 204.046);
  --foreground: oklch(0.821 0.026 206.291);
  --muted: oklch(0.278 0.012 203.251);
  --muted-foreground: oklch(0.738 0.022 203.334);
  --popover: oklch(0.231 0.035 203.578);
  --popover-foreground: oklch(0.893 0.015 206.346);
  --card: oklch(0.247 0.038 203.766);
  --card-foreground: oklch(0.857 0.021 206.317);
  --border: oklch(0.342 0.052 204.055);
  --input: oklch(0.383 0.059 204.168);
  --primary: oklch(0.645 0.108 209.454);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.828 0.036 206.262);
  --secondary-foreground: oklch(0.289 0.027 206.391);
  --accent: oklch(0.492 0.081 204.847);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.612 0.235 29.283);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.645 0.108 209.454);
  --chart-1: oklch(0.645 0.108 209.454);
  --chart-2: oklch(0.828 0.036 206.262);
  --chart-3: oklch(0.492 0.081 204.847);
  --chart-4: oklch(0.849 0.032 206.274);
  --chart-5: oklch(0.651 0.11 209.7);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.278 0.043 204.046);
  --foreground: oklch(0.821 0.026 206.291);
  --muted: oklch(0.278 0.012 203.251);
  --muted-foreground: oklch(0.738 0.022 203.334);
  --popover: oklch(0.231 0.035 203.578);
  --popover-foreground: oklch(0.893 0.015 206.346);
  --card: oklch(0.247 0.038 203.766);
  --card-foreground: oklch(0.857 0.021 206.317);
  --border: oklch(0.342 0.052 204.055);
  --input: oklch(0.383 0.059 204.168);
  --primary: oklch(0.645 0.108 209.454);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.828 0.036 206.262);
  --secondary-foreground: oklch(0.289 0.027 206.391);
  --accent: oklch(0.492 0.081 204.847);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.612 0.235 29.283);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.645 0.108 209.454);
  --chart-1: oklch(0.645 0.108 209.454);
  --chart-2: oklch(0.828 0.036 206.262);
  --chart-3: oklch(0.492 0.081 204.847);
  --chart-4: oklch(0.849 0.032 206.274);
  --chart-5: oklch(0.651 0.11 209.7);
}