Atlantic Night - Abyss for shadcn/ui

Atlantic Night - Abyss is a shadcn/ui theme built around a blue primary color (#5c80b2) with vivid deep blue accents (#000957). The light mode uses a neutral background (#00010a). Dark mode keeps the blue primary (#5c80b2) on a neutral background (#00010a).

Color palette

TokenLightDark
Background
#00010ablack
#00010ablack
Foreground
#dbdfe1gainsboro
#dbdfe1gainsboro
Card
#000000black
#000000black
Card foreground
#e9ebedlavender
#e9ebedlavender
Popover
#000000black
#000000black
Popover foreground
#f7f8f8whitesmoke
#f7f8f8whitesmoke
Primary
#5c80b2steelblue
#5c80b2steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#afbcd0lightsteelblue
#afbcd0lightsteelblue
Secondary foreground
#1c2530darkslategray
#1c2530darkslategray
Muted
#22232bdarkslategray
#22232bdarkslategray
Muted foreground
#9b9db0darkgray
#9b9db0darkgray
Accent
#000957midnightblue
#000957midnightblue
Accent foreground
#8a95ffcornflowerblue
#8a95ffcornflowerblue
Destructive
#f2200dred
#f2200dred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#020522black
#020522black
Input
#030730black
#030730black
Ring
#5c80b2steelblue
#5c80b2steelblue

Contrast

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

Light mode
Text on background15.51:1AAA
Text on card17.57:1AAA
Primary button4.04:1AA Large
Secondary button8.07:1AAA
Muted text5.86:1AA
Accent6.66:1AA
Destructive4.20:1AA Large
Dark mode
Text on background15.51:1AAA
Text on card17.57:1AAA
Primary button4.04:1AA Large
Secondary button8.07:1AAA
Muted text5.86:1AA
Accent6.66:1AA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.079 0.037 262.281);
  --foreground: oklch(0.901 0.006 223.194);
  --muted: oklch(0.257 0.016 280.245);
  --muted-foreground: oklch(0.701 0.028 280.612);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.977 0.001 223.144);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.94 0.004 223.167);
  --border: oklch(0.138 0.063 267.402);
  --input: oklch(0.164 0.082 267.263);
  --primary: oklch(0.594 0.088 256.895);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.792 0.031 256.771);
  --secondary-foreground: oklch(0.26 0.025 256.839);
  --accent: oklch(0.219 0.134 264.171);
  --accent-foreground: oklch(0.708 0.154 276.928);
  --destructive: oklch(0.613 0.239 30.067);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.594 0.088 256.895);
  --chart-1: oklch(0.594 0.088 256.895);
  --chart-2: oklch(0.792 0.031 256.771);
  --chart-3: oklch(0.219 0.134 264.171);
  --chart-4: oklch(0.818 0.027 256.758);
  --chart-5: oklch(0.592 0.095 256.917);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.079 0.037 262.281);
  --foreground: oklch(0.901 0.006 223.194);
  --muted: oklch(0.257 0.016 280.245);
  --muted-foreground: oklch(0.701 0.028 280.612);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.977 0.001 223.144);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.94 0.004 223.167);
  --border: oklch(0.138 0.063 267.402);
  --input: oklch(0.164 0.082 267.263);
  --primary: oklch(0.594 0.088 256.895);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.792 0.031 256.771);
  --secondary-foreground: oklch(0.26 0.025 256.839);
  --accent: oklch(0.219 0.134 264.171);
  --accent-foreground: oklch(0.708 0.154 276.928);
  --destructive: oklch(0.613 0.239 30.067);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.594 0.088 256.895);
  --chart-1: oklch(0.594 0.088 256.895);
  --chart-2: oklch(0.792 0.031 256.771);
  --chart-3: oklch(0.219 0.134 264.171);
  --chart-4: oklch(0.818 0.027 256.758);
  --chart-5: oklch(0.592 0.095 256.917);
}