Infinite Night Salmon for shadcn/ui

Infinite Night Salmon is a shadcn/ui theme built around a vivid deep blue primary color (#040e39) with vivid deep green accents (#0e3904). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid deep blue primary (#040e39) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#000000black
Foreground
#050815black
#f4f5fawhitesmoke
Card
#f8f9fcghostwhite
#000000black
Card foreground
#050815black
#f4f5fawhitesmoke
Popover
#f8f9fcghostwhite
#000000black
Popover foreground
#050815black
#f4f5fawhitesmoke
Primary
#040e39black
#040e39black
Primary foreground
#7a91f5cornflowerblue
#7a91f5cornflowerblue
Secondary
#39040eblack
#39040eblack
Secondary foreground
#f57a91lightcoral
#f57a91lightcoral
Muted
#e2d4d7gainsboro
#2b1d1fblack
Muted foreground
#625054dimgray
#af9da0darkgray
Accent
#0e3904darkgreen
#0e3904darkgreen
Accent foreground
#42ee1blimegreen
#42ee1blimegreen
Destructive
#61250amaroon
#e35716chocolate
Destructive foreground
#f6c0a7lightpink
#ffffffwhite
Border
#e5e6eblavender
#16171dblack
Input
#e5e6eblavender
#16171dblack
Ring
#040e39black
#040e39black

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card18.93:1AAA
Primary button6.38:1AA
Secondary button6.73:1AA
Muted text5.24:1AA
Accent8.40:1AAA
Destructive7.28:1AAA
Dark mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button6.38:1AA
Secondary button6.73:1AA
Muted text6.30:1AA
Accent8.40:1AAA
Destructive3.70:1AA Large

CSS variables

Paste this into your globals.css to use Infinite Night Salmon in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 276.113);
  --foreground: oklch(0.137 0.03 269.682);
  --muted: oklch(0.883 0.016 4.794);
  --muted-foreground: oklch(0.452 0.024 5.711);
  --popover: oklch(0.982 0.004 276.113);
  --popover-foreground: oklch(0.137 0.03 269.682);
  --card: oklch(0.982 0.004 276.113);
  --card-foreground: oklch(0.137 0.03 269.682);
  --border: oklch(0.925 0.008 276.057);
  --input: oklch(0.925 0.008 276.057);
  --primary: oklch(0.191 0.084 266.512);
  --primary-foreground: oklch(0.683 0.15 272.338);
  --secondary: oklch(0.225 0.081 16.352);
  --secondary-foreground: oklch(0.727 0.151 10.058);
  --accent: oklch(0.303 0.092 140.383);
  --accent-foreground: oklch(0.829 0.266 141.059);
  --destructive: oklch(0.35 0.095 42.18);
  --destructive-foreground: oklch(0.85 0.071 46.074);
  --ring: oklch(0.191 0.084 266.512);
  --chart-1: oklch(0.191 0.084 266.512);
  --chart-2: oklch(0.225 0.081 16.352);
  --chart-3: oklch(0.303 0.092 140.383);
  --chart-4: oklch(0.259 0.095 17.762);
  --chart-5: oklch(0.19 0.087 265.867);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.972 0.007 276.077);
  --muted: oklch(0.248 0.023 6.711);
  --muted-foreground: oklch(0.712 0.021 5.101);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.972 0.007 276.077);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.972 0.007 276.077);
  --border: oklch(0.206 0.013 275.285);
  --input: oklch(0.206 0.013 275.285);
  --primary: oklch(0.191 0.084 266.512);
  --primary-foreground: oklch(0.683 0.15 272.338);
  --secondary: oklch(0.225 0.081 16.352);
  --secondary-foreground: oklch(0.727 0.151 10.058);
  --accent: oklch(0.303 0.092 140.383);
  --accent-foreground: oklch(0.829 0.266 141.059);
  --destructive: oklch(0.635 0.187 40.736);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.191 0.084 266.512);
  --chart-1: oklch(0.191 0.084 266.512);
  --chart-2: oklch(0.225 0.081 16.352);
  --chart-3: oklch(0.303 0.092 140.383);
  --chart-4: oklch(0.259 0.095 17.762);
  --chart-5: oklch(0.19 0.087 265.867);
}