Wet In the Navy for shadcn/ui

Wet In the Navy is a shadcn/ui theme built around a deep blue primary color (#233648) with muted blue accents (#b5bac0). The light mode uses a neutral background (#f8fafc). Dark mode keeps the deep blue primary (#233648) on a blue-tinted background (#03080c).

Color palette

TokenLightDark
Background
#f8fafcghostwhite
#03080cblack
Foreground
#03080dblack
#ffffffwhite
Card
#f4f7fbghostwhite
#040a10black
Card foreground
#020508black
#ffffffwhite
Popover
#f8fafcghostwhite
#03080cblack
Popover foreground
#03080dblack
#ffffffwhite
Primary
#233648darkslategray
#233648darkslategray
Primary foreground
#becfe0lightsteelblue
#becfe0lightsteelblue
Secondary
#d0d1d2lightgrey
#171c21black
Secondary foreground
#373839darkslategray
#a8b5c2silver
Muted
#d2d9e0gainsboro
#1f262ddarkslategray
Muted foreground
#4d545bdarkslategray
#a4abb2darkgray
Accent
#b5bac0silver
#222e3adarkslategray
Accent foreground
#1e2124black
#b8c7d5lightsteelblue
Destructive
#d8180efirebrick
#d8180efirebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e6e7gainsboro
#1b1c1dblack
Input
#e4e6e7gainsboro
#1b1c1dblack
Ring
#233648darkslategray
#233648darkslategray

Contrast

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

Light mode
Text on background19.19:1AAA
Text on card19.04:1AAA
Primary button7.83:1AAA
Secondary button7.69:1AAA
Muted text5.37:1AA
Accent8.28:1AAA
Destructive5.18:1AA
Dark mode
Text on background20.14:1AAA
Text on card19.86:1AAA
Primary button7.83:1AAA
Secondary button8.20:1AAA
Muted text6.56:1AA
Accent8.01:1AAA
Destructive5.18:1AA

CSS variables

Paste this into your globals.css to use Wet In the Navy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 247.864);
  --foreground: oklch(0.128 0.017 239.531);
  --muted: oklch(0.881 0.012 247.964);
  --muted-foreground: oklch(0.443 0.014 248.144);
  --popover: oklch(0.984 0.004 247.864);
  --popover-foreground: oklch(0.128 0.017 239.531);
  --card: oklch(0.976 0.006 247.886);
  --card-foreground: oklch(0.111 0.014 238.604);
  --border: oklch(0.923 0.002 247.841);
  --input: oklch(0.923 0.002 247.841);
  --primary: oklch(0.324 0.041 249.213);
  --primary-foreground: oklch(0.846 0.03 248.183);
  --secondary: oklch(0.861 0.002 247.841);
  --secondary-foreground: oklch(0.34 0.002 247.898);
  --accent: oklch(0.787 0.01 247.953);
  --accent-foreground: oklch(0.247 0.006 248.087);
  --destructive: oklch(0.561 0.22 29.44);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.324 0.041 249.213);
  --chart-1: oklch(0.324 0.041 249.213);
  --chart-2: oklch(0.861 0.002 247.841);
  --chart-3: oklch(0.787 0.01 247.953);
  --chart-4: oklch(0.884 0.001 247.837);
  --chart-5: oklch(0.324 0.045 249.364);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.015 240.164);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.266 0.016 248.438);
  --muted-foreground: oklch(0.737 0.012 247.995);
  --popover: oklch(0.128 0.015 240.164);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.018 243.635);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.226 0.003 247.949);
  --input: oklch(0.226 0.003 247.949);
  --primary: oklch(0.324 0.041 249.213);
  --primary-foreground: oklch(0.846 0.03 248.183);
  --secondary: oklch(0.224 0.012 248.351);
  --secondary-foreground: oklch(0.767 0.023 248.125);
  --accent: oklch(0.295 0.027 248.771);
  --accent-foreground: oklch(0.823 0.026 248.144);
  --destructive: oklch(0.561 0.22 29.44);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.324 0.041 249.213);
  --chart-1: oklch(0.324 0.041 249.213);
  --chart-2: oklch(0.224 0.012 248.351);
  --chart-3: oklch(0.295 0.027 248.771);
  --chart-4: oklch(0.256 0.014 248.392);
  --chart-5: oklch(0.324 0.045 249.364);
}