Ocean in a Bowl Hedgehog for shadcn/ui

Ocean in a Bowl Hedgehog is a shadcn/ui theme built around a teal primary color (#69ddb5) with orange accents (#ddb569). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#69ddb5) on a neutral background (#020806).

Color palette

TokenLightDark
Background
#ffffffwhite
#020806black
Foreground
#010403black
#ffffffwhite
Card
#ffffffwhite
#020806black
Card foreground
#010403black
#ffffffwhite
Popover
#ffffffwhite
#020806black
Popover foreground
#010403black
#ffffffwhite
Primary
#69ddb5mediumaquamarine
#69ddb5mediumaquamarine
Primary foreground
#04110cblack
#04110cblack
Secondary
#b569ddmediumorchid
#b569ddmediumorchid
Secondary foreground
#000000black
#000000black
Muted
#ece5f0lavender
#160f1ablack
Muted foreground
#625e64dimgray
#9f9ba1darkgray
Accent
#ddb569sandybrown
#ddb569sandybrown
Accent foreground
#110c04black
#110c04black
Destructive
#9e0705darkred
#e40b07red
Destructive foreground
#fed8d7mistyrose
#ffffffwhite
Border
#ebefeewhitesmoke
#1c2220black
Input
#ebefeewhitesmoke
#1c2220black
Ring
#69ddb5mediumaquamarine
#69ddb5mediumaquamarine

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button11.56:1AAA
Secondary button6.03:1AA
Muted text5.16:1AA
Accent10.06:1AAA
Destructive6.42:1AA
Dark mode
Text on background20.18:1AAA
Text on card20.18:1AAA
Primary button11.56:1AAA
Secondary button6.03:1AA
Muted text6.86:1AA
Accent10.06:1AAA
Destructive4.84:1AA

CSS variables

Paste this into your globals.css to use Ocean in a Bowl Hedgehog in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.012 173.833);
  --muted: oklch(0.931 0.016 314.125);
  --muted-foreground: oklch(0.487 0.01 314.103);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.012 173.833);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.012 173.833);
  --border: oklch(0.949 0.004 173.446);
  --input: oklch(0.949 0.004 173.446);
  --primary: oklch(0.819 0.121 167.851);
  --primary-foreground: oklch(0.161 0.023 170.857);
  --secondary: oklch(0.652 0.18 312.445);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.792 0.105 81.756);
  --accent-foreground: oklch(0.158 0.021 86.141);
  --destructive: oklch(0.443 0.178 29.115);
  --destructive-foreground: oklch(0.914 0.042 19.104);
  --ring: oklch(0.819 0.121 167.851);
  --chart-1: oklch(0.819 0.121 167.851);
  --chart-2: oklch(0.652 0.18 312.445);
  --chart-3: oklch(0.792 0.105 81.756);
  --chart-4: oklch(0.679 0.165 312.72);
  --chart-5: oklch(0.825 0.126 167.584);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.015 173.829);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.183 0.024 313.497);
  --muted-foreground: oklch(0.695 0.009 314.145);
  --popover: oklch(0.124 0.015 173.829);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.015 173.829);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.244 0.01 172.352);
  --input: oklch(0.244 0.01 172.352);
  --primary: oklch(0.819 0.121 167.851);
  --primary-foreground: oklch(0.161 0.023 170.857);
  --secondary: oklch(0.652 0.18 312.445);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.792 0.105 81.756);
  --accent-foreground: oklch(0.158 0.021 86.141);
  --destructive: oklch(0.579 0.234 29.156);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.121 167.851);
  --chart-1: oklch(0.819 0.121 167.851);
  --chart-2: oklch(0.652 0.18 312.445);
  --chart-3: oklch(0.792 0.105 81.756);
  --chart-4: oklch(0.679 0.165 312.72);
  --chart-5: oklch(0.825 0.126 167.584);
}