Rubber Deep Pool Teal for shadcn/ui

Rubber Deep Pool Teal is a shadcn/ui theme built around a teal primary color (#2f6f69) with blue accents (#2f546f). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#2f6f69) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#031110black
#fcfdfdwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#020d0cblack
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#031110black
#fcfdfdwhite
Primary
#2f6f69seagreen
#2f6f69seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#2f6f4aseagreen
#2f6f4aseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dee8e2gainsboro
#17211bblack
Muted foreground
#56615bdimgray
#9ea9a2darkgray
Accent
#2f546fdarkslategray
#2f546fdarkslategray
Accent foreground
#dfeaf1lavender
#dfeaf1lavender
Destructive
#c8490echocolate
#f27840coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e3e8e8gainsboro
#171c1cblack
Input
#e3e8e8gainsboro
#171c1cblack
Ring
#2f6f69seagreen
#2f6f69seagreen

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.28:1AAA
Primary button5.85:1AA
Secondary button6.03:1AA
Muted text5.14:1AA
Accent6.53:1AA
Destructive4.74:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button5.85:1AA
Secondary button6.03:1AA
Muted text6.79:1AA
Accent6.53:1AA
Destructive7.54:1AAA

CSS variables

Paste this into your globals.css to use Rubber Deep Pool Teal in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.023 188.785);
  --muted: oklch(0.922 0.014 160.65);
  --muted-foreground: oklch(0.482 0.017 160.157);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.023 188.785);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.147 0.02 189.545);
  --border: oklch(0.927 0.006 191.12);
  --input: oklch(0.927 0.006 191.12);
  --primary: oklch(0.498 0.065 187.926);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.488 0.089 155.454);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.431 0.061 241.203);
  --accent-foreground: oklch(0.93 0.015 238.6);
  --destructive: oklch(0.573 0.173 40.161);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.498 0.065 187.926);
  --chart-1: oklch(0.498 0.065 187.926);
  --chart-2: oklch(0.488 0.089 155.454);
  --chart-3: oklch(0.431 0.061 241.203);
  --chart-4: oklch(0.521 0.096 155.381);
  --chart-5: oklch(0.504 0.069 187.727);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 191.221);
  --muted: oklch(0.237 0.019 158.924);
  --muted-foreground: oklch(0.723 0.015 160.502);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 191.221);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.221 0.008 190.485);
  --input: oklch(0.221 0.008 190.485);
  --primary: oklch(0.498 0.065 187.926);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.488 0.089 155.454);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.431 0.061 241.203);
  --accent-foreground: oklch(0.93 0.015 238.6);
  --destructive: oklch(0.705 0.165 43.757);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.498 0.065 187.926);
  --chart-1: oklch(0.498 0.065 187.926);
  --chart-2: oklch(0.488 0.089 155.454);
  --chart-3: oklch(0.431 0.061 241.203);
  --chart-4: oklch(0.521 0.096 155.381);
  --chart-5: oklch(0.504 0.069 187.727);
}