Lake Stream Porpoise for shadcn/ui

Lake Stream Porpoise is a shadcn/ui theme built around a blue primary color (#3b6d87) with green accents (#6d873b). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#3b6d87) on a blue-tinted background (#060b0e).

Color palette

TokenLightDark
Background
#ffffffwhite
#060b0eblack
Foreground
#03090cblack
#fcfdfdwhite
Card
#fcfcfcsnow
#080e11black
Card foreground
#020608black
#ffffffwhite
Popover
#fcfcfcsnow
#080e11black
Popover foreground
#020608black
#ffffffwhite
Primary
#3b6d87darkslateblue
#3b6d87darkslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#873b6ddimgray
#873b6ddimgray
Secondary foreground
#fcf8fbsnow
#fcf8fbsnow
Muted
#e1d0dcgainsboro
#2f1e29darkslategray
Muted foreground
#584150darkslategray
#bea7b6darkgray
Accent
#6d873bolivedrab
#6d873bolivedrab
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d71009red
#f62e28crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e7e8e9lavender
#252728darkslategray
Input
#e7e8e9lavender
#252728darkslategray
Ring
#3b6d87darkslateblue
#3b6d87darkslateblue

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card19.90:1AAA
Primary button5.60:1AA
Secondary button6.94:1AA
Muted text6.24:1AA
Accent4.06:1AA Large
Destructive5.27:1AA
Dark mode
Text on background19.35:1AAA
Text on card19.38:1AAA
Primary button5.60:1AA
Secondary button6.94:1AA
Muted text7.03:1AAA
Accent4.06:1AA Large
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Lake Stream Porpoise in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.134 0.015 223.251);
  --muted: oklch(0.876 0.024 337.806);
  --muted-foreground: oklch(0.406 0.04 339.123);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.117 0.013 222.283);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.117 0.013 222.283);
  --border: oklch(0.931 0.002 228.773);
  --input: oklch(0.931 0.002 228.773);
  --primary: oklch(0.512 0.067 231.891);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.47 0.121 342.109);
  --secondary-foreground: oklch(0.983 0.005 337.377);
  --accent: oklch(0.585 0.107 124.935);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.557 0.223 29.268);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.512 0.067 231.891);
  --chart-1: oklch(0.512 0.067 231.891);
  --chart-2: oklch(0.47 0.121 342.109);
  --chart-3: oklch(0.585 0.107 124.935);
  --chart-4: oklch(0.496 0.129 342.152);
  --chart-5: oklch(0.514 0.072 232.249);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.01 227.705);
  --foreground: oklch(0.992 0.001 228.758);
  --muted: oklch(0.26 0.032 339.613);
  --muted-foreground: oklch(0.753 0.034 338.147);
  --popover: oklch(0.16 0.012 229.553);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.16 0.012 229.553);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.27 0.004 228.924);
  --input: oklch(0.27 0.004 228.924);
  --primary: oklch(0.512 0.067 231.891);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.47 0.121 342.109);
  --secondary-foreground: oklch(0.983 0.005 337.377);
  --accent: oklch(0.585 0.107 124.935);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.629 0.233 28.388);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.512 0.067 231.891);
  --chart-1: oklch(0.512 0.067 231.891);
  --chart-2: oklch(0.47 0.121 342.109);
  --chart-3: oklch(0.585 0.107 124.935);
  --chart-4: oklch(0.496 0.129 342.152);
  --chart-5: oklch(0.514 0.072 232.249);
}