Turbulent for shadcn/ui

Turbulent is a shadcn/ui theme built around a vivid teal primary color (#03baab) with vivid red accents (#ba0312). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the vivid teal primary (#03baab) on a teal-tinted background (#030c0b).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#030c0bblack
Foreground
#040c0bblack
#fcfdfdwhite
Card
#f4fbfamintcream
#04100fblack
Card foreground
#020807black
#ffffffwhite
Popover
#f4fbfamintcream
#04100fblack
Popover foreground
#020807black
#ffffffwhite
Primary
#03baablightseagreen
#03baablightseagreen
Primary foreground
#000000black
#000000black
Secondary
#ba0312firebrick
#ba0312firebrick
Secondary foreground
#fff0f1lavenderblush
#fff0f1lavenderblush
Muted
#eed8dagainsboro
#271113black
Muted foreground
#6a585adimgray
#a79597rosybrown
Accent
#ba0312firebrick
#ba0312firebrick
Accent foreground
#fff0f1lavenderblush
#fff0f1lavenderblush
Destructive
#bb2e11firebrick
#ea3d1aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#03baablightseagreen
#03baablightseagreen

Contrast

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

Light mode
Text on background19.13:1AAA
Text on card19.23:1AAA
Primary button8.60:1AAA
Secondary button6.11:1AA
Muted text4.89:1AA
Accent6.11:1AA
Destructive6.00:1AA
Dark mode
Text on background19.41:1AAA
Text on card19.33:1AAA
Primary button8.60:1AAA
Secondary button6.11:1AA
Muted text6.28:1AA
Accent6.11:1AA
Destructive4.06:1AA Large

CSS variables

Paste this into your globals.css to use Turbulent in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 191.139);
  --foreground: oklch(0.143 0.015 190.07);
  --muted: oklch(0.901 0.024 11.842);
  --muted-foreground: oklch(0.479 0.023 12.306);
  --popover: oklch(0.982 0.007 191.083);
  --popover-foreground: oklch(0.124 0.013 190.416);
  --card: oklch(0.982 0.007 191.083);
  --card-foreground: oklch(0.124 0.013 190.416);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.709 0.125 184.528);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.497 0.201 27.206);
  --secondary-foreground: oklch(0.967 0.016 11.614);
  --accent: oklch(0.497 0.201 27.206);
  --accent-foreground: oklch(0.967 0.016 11.614);
  --destructive: oklch(0.521 0.182 32.79);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.125 184.528);
  --chart-1: oklch(0.709 0.125 184.528);
  --chart-2: oklch(0.497 0.201 27.206);
  --chart-3: oklch(0.497 0.201 27.206);
  --chart-4: oklch(0.526 0.214 27.329);
  --chart-5: oklch(0.717 0.127 184.383);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.016 189.953);
  --foreground: oklch(0.994 0.002 191.209);
  --muted: oklch(0.211 0.037 15.376);
  --muted-foreground: oklch(0.687 0.021 11.914);
  --popover: oklch(0.161 0.018 189.204);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.161 0.018 189.204);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.709 0.125 184.528);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.497 0.201 27.206);
  --secondary-foreground: oklch(0.967 0.016 11.614);
  --accent: oklch(0.497 0.201 27.206);
  --accent-foreground: oklch(0.967 0.016 11.614);
  --destructive: oklch(0.618 0.214 32.842);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.125 184.528);
  --chart-1: oklch(0.709 0.125 184.528);
  --chart-2: oklch(0.497 0.201 27.206);
  --chart-3: oklch(0.497 0.201 27.206);
  --chart-4: oklch(0.526 0.214 27.329);
  --chart-5: oklch(0.717 0.127 184.383);
}