Expensive Waterline Blue for shadcn/ui

Expensive Waterline Blue is a shadcn/ui theme built around a blue primary color (#4269ab) with blue accents (#4269ab). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#4269ab) on an indigo-tinted background (#070711).

Color palette

TokenLightDark
Background
#ffffffwhite
#070711black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#0e0e22black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0e0e22black
Popover foreground
#000000black
#ffffffwhite
Primary
#4269absteelblue
#4269absteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#242255midnightblue
#242255midnightblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d9e1eelavender
#242255midnightblue
Muted foreground
#a6a6a6darkgray
#c4c4c4silver
Accent
#4269absteelblue
#4269absteelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cb4e06chocolate
#f86916chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#27272adarkslategray
#27272adarkslategray
Input
#27272adarkslategray
#27272adarkslategray
Ring
#6b6b6bdimgray
#6b6b6bdimgray

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button5.46:1AA
Secondary button14.63:1AAA
Muted text1.84:1Fail
Accent5.46:1AA
Destructive4.52:1AA
Dark mode
Text on background20.04:1AAA
Text on card19.01:1AAA
Primary button5.46:1AA
Secondary button14.63:1AAA
Muted text8.39:1AAA
Accent5.46:1AA
Destructive2.99:1Fail

CSS variables

Paste this into your globals.css to use Expensive Waterline Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.908 0.02 260.165);
  --muted-foreground: oklch(0.725 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.274 0.005 286.033);
  --input: oklch(0.274 0.005 286.033);
  --primary: oklch(0.524 0.114 260.334);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.286 0.09 280.848);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.114 260.334);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.584 0.172 42.503);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.528 0 180);
  --chart-1: oklch(0.524 0.114 260.334);
  --chart-2: oklch(0.286 0.09 280.848);
  --chart-3: oklch(0.524 0.114 260.334);
  --chart-4: oklch(0.308 0.099 280.61);
  --chart-5: oklch(0.522 0.121 260.294);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.023 282.942);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.286 0.09 280.848);
  --muted-foreground: oklch(0.82 0 164.055);
  --popover: oklch(0.176 0.041 281.397);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.176 0.041 281.397);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.274 0.005 286.033);
  --input: oklch(0.274 0.005 286.033);
  --primary: oklch(0.524 0.114 260.334);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.286 0.09 280.848);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.524 0.114 260.334);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.69 0.193 44.079);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.528 0 180);
  --chart-1: oklch(0.524 0.114 260.334);
  --chart-2: oklch(0.286 0.09 280.848);
  --chart-3: oklch(0.524 0.114 260.334);
  --chart-4: oklch(0.308 0.099 280.61);
  --chart-5: oklch(0.522 0.121 260.294);
}