Obliged Plunge Pool for shadcn/ui

Obliged Plunge Pool is a shadcn/ui theme built around a vivid teal primary color (#00ffc8) with indigo accents (#43337a). The light mode uses an indigo-tinted background (#251d44). Dark mode keeps the vivid teal primary (#00ffc8) on an indigo-tinted background (#251d44).

Color palette

TokenLightDark
Background
#251d44midnightblue
#251d44midnightblue
Foreground
#00ff9dmediumspringgreen
#00ff9dmediumspringgreen
Card
#211a3dmidnightblue
#211a3dmidnightblue
Card foreground
#19ffa7mediumspringgreen
#19ffa7mediumspringgreen
Popover
#1f183amidnightblue
#1f183amidnightblue
Popover foreground
#33ffb1turquoise
#33ffb1turquoise
Primary
#00ffc8mediumspringgreen
#00ffc8mediumspringgreen
Primary foreground
#003328darkgreen
#003328darkgreen
Secondary
#2d534bdarkslategray
#2d534bdarkslategray
Secondary foreground
#cde4dfgainsboro
#cde4dfgainsboro
Muted
#373442darkslategray
#373442darkslategray
Muted foreground
#b5b2c2silver
#b5b2c2silver
Accent
#43337adarkslateblue
#43337adarkslateblue
Accent foreground
#ece9f6lavender
#ece9f6lavender
Destructive
#dc1b09red
#dc1b09red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#322a50darkslategray
#322a50darkslategray
Input
#39305adarkslategray
#39305adarkslategray
Ring
#00ffc8mediumspringgreen
#00ffc8mediumspringgreen

Contrast

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

Light mode
Text on background11.82:1AAA
Text on card12.45:1AAA
Primary button10.72:1AAA
Secondary button6.44:1AA
Muted text5.86:1AA
Accent8.80:1AAA
Destructive4.98:1AA
Dark mode
Text on background11.82:1AAA
Text on card12.45:1AAA
Primary button10.72:1AAA
Secondary button6.44:1AA
Muted text5.86:1AA
Accent8.80:1AAA
Destructive4.98:1AA

CSS variables

Paste this into your globals.css to use Obliged Plunge Pool in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.262 0.072 290.552);
  --foreground: oklch(0.88 0.21 156.921);
  --muted: oklch(0.332 0.025 294.946);
  --muted-foreground: oklch(0.771 0.024 295.772);
  --popover: oklch(0.238 0.062 290.865);
  --popover-foreground: oklch(0.888 0.188 161.044);
  --card: oklch(0.246 0.066 290.752);
  --card-foreground: oklch(0.883 0.2 159.03);
  --border: oklch(0.314 0.067 292.074);
  --input: oklch(0.339 0.074 291.958);
  --primary: oklch(0.889 0.177 169.66);
  --primary-foreground: oklch(0.286 0.055 173.357);
  --secondary: oklch(0.411 0.046 178.319);
  --secondary-foreground: oklch(0.901 0.025 181.271);
  --accent: oklch(0.378 0.116 289.659);
  --accent-foreground: oklch(0.941 0.017 296.753);
  --destructive: oklch(0.57 0.223 30.056);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.889 0.177 169.66);
  --chart-1: oklch(0.889 0.177 169.66);
  --chart-2: oklch(0.411 0.046 178.319);
  --chart-3: oklch(0.378 0.116 289.659);
  --chart-4: oklch(0.444 0.051 178.249);
  --chart-5: oklch(0.899 0.18 169.371);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.262 0.072 290.552);
  --foreground: oklch(0.88 0.21 156.921);
  --muted: oklch(0.332 0.025 294.946);
  --muted-foreground: oklch(0.771 0.024 295.772);
  --popover: oklch(0.238 0.062 290.865);
  --popover-foreground: oklch(0.888 0.188 161.044);
  --card: oklch(0.246 0.066 290.752);
  --card-foreground: oklch(0.883 0.2 159.03);
  --border: oklch(0.314 0.067 292.074);
  --input: oklch(0.339 0.074 291.958);
  --primary: oklch(0.889 0.177 169.66);
  --primary-foreground: oklch(0.286 0.055 173.357);
  --secondary: oklch(0.411 0.046 178.319);
  --secondary-foreground: oklch(0.901 0.025 181.271);
  --accent: oklch(0.378 0.116 289.659);
  --accent-foreground: oklch(0.941 0.017 296.753);
  --destructive: oklch(0.57 0.223 30.056);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.889 0.177 169.66);
  --chart-1: oklch(0.889 0.177 169.66);
  --chart-2: oklch(0.411 0.046 178.319);
  --chart-3: oklch(0.378 0.116 289.659);
  --chart-4: oklch(0.444 0.051 178.249);
  --chart-5: oklch(0.899 0.18 169.371);
}