Astro Nautico Basilisk for shadcn/ui

Astro Nautico Basilisk is a shadcn/ui theme built around a blue primary color (#5485c9) with indigo accents (#5e54c9). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the blue primary (#5485c9) on a neutral background (#020508).

Color palette

TokenLightDark
Background
#f7f9fdghostwhite
#020508black
Foreground
#050910black
#ffffffwhite
Card
#f7f9fdghostwhite
#020508black
Card foreground
#050910black
#ffffffwhite
Popover
#f7f9fdghostwhite
#020508black
Popover foreground
#050910black
#ffffffwhite
Primary
#5485c9steelblue
#5485c9steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#54bfc9mediumturquoise
#54bfc9mediumturquoise
Secondary foreground
#000000black
#000000black
Muted
#d0e5e7gainsboro
#182e2fdarkslategray
Muted foreground
#616565dimgray
#9a9d9edarkgray
Accent
#5e54c9slateblue
#5e54c9slateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7e1d02maroon
#e73504orangered
Destructive foreground
#fec4b4lightpink
#ffffffwhite
Border
#e0e2e6gainsboro
#191c1fblack
Input
#e0e2e6gainsboro
#191c1fblack
Ring
#5485c9steelblue
#5485c9steelblue

Contrast

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

Light mode
Text on background18.97:1AAA
Text on card18.97:1AAA
Primary button3.75:1AA Large
Secondary button9.71:1AAA
Muted text4.50:1AA
Accent5.82:1AA
Destructive6.70:1AA
Dark mode
Text on background20.46:1AAA
Text on card20.46:1AAA
Primary button3.75:1AA Large
Secondary button9.71:1AAA
Muted text5.25:1AA
Accent5.82:1AA
Destructive4.27:1AA Large

CSS variables

Paste this into your globals.css to use Astro Nautico Basilisk in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 256.671);
  --foreground: oklch(0.139 0.017 251.686);
  --muted: oklch(0.907 0.023 203.366);
  --muted-foreground: oklch(0.504 0.005 203.498);
  --popover: oklch(0.983 0.005 256.671);
  --popover-foreground: oklch(0.139 0.017 251.686);
  --card: oklch(0.983 0.005 256.671);
  --card-foreground: oklch(0.139 0.017 251.686);
  --border: oklch(0.913 0.006 256.677);
  --input: oklch(0.913 0.006 256.677);
  --primary: oklch(0.613 0.117 256.996);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.748 0.098 203.445);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.522 0.175 282.228);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.39 0.136 34.778);
  --destructive-foreground: oklch(0.867 0.071 36);
  --ring: oklch(0.613 0.117 256.996);
  --chart-1: oklch(0.613 0.117 256.996);
  --chart-2: oklch(0.748 0.098 203.445);
  --chart-3: oklch(0.522 0.175 282.228);
  --chart-4: oklch(0.763 0.094 203.318);
  --chart-5: oklch(0.612 0.123 257.035);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.014 247.991);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.282 0.028 203.143);
  --muted-foreground: oklch(0.694 0.004 203.525);
  --popover: oklch(0.109 0.014 247.991);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.014 247.991);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.223 0.008 256.763);
  --input: oklch(0.223 0.008 256.763);
  --primary: oklch(0.613 0.117 256.996);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.748 0.098 203.445);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.522 0.175 282.228);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.606 0.219 33.54);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.613 0.117 256.996);
  --chart-1: oklch(0.613 0.117 256.996);
  --chart-2: oklch(0.748 0.098 203.445);
  --chart-3: oklch(0.522 0.175 282.228);
  --chart-4: oklch(0.763 0.094 203.318);
  --chart-5: oklch(0.612 0.123 257.035);
}