Fun Studio Blue Green for shadcn/ui

Fun Studio Blue Green is a shadcn/ui theme built around a neutral gray primary color (#6d7e77) with neutral gray accents (#6d7c7e). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#6d7e77) on a teal-tinted background (#060f0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#060f0bblack
Foreground
#03120cblack
#ffffffwhite
Card
#ffffffwhite
#060f0bblack
Card foreground
#03120cblack
#ffffffwhite
Popover
#ffffffwhite
#060f0bblack
Popover foreground
#03120cblack
#ffffffwhite
Primary
#6d7e77gray
#6d7e77gray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6d7e6fdimgray
#6d7e6fdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3eee4gainsboro
#111c13black
Muted foreground
#435b46darkslategray
#a4bca6darkgray
Accent
#6d7c7eslategray
#6d7c7eslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c20f0ffirebrick
#ee1b1bcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e2e9e6gainsboro
#191f1dblack
Input
#e2e9e6gainsboro
#191f1dblack
Ring
#6d7e77gray
#6d7e77gray

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button4.30:1AA Large
Secondary button4.33:1AA Large
Muted text6.21:1AA
Accent4.35:1AA Large
Destructive6.21:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button4.30:1AA Large
Secondary button4.33:1AA Large
Muted text8.57:1AAA
Accent4.35:1AA Large
Destructive4.36:1AA Large

CSS variables

Paste this into your globals.css to use Fun Studio Blue Green in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.164 0.027 167.545);
  --muted: oklch(0.937 0.018 148.382);
  --muted-foreground: oklch(0.445 0.045 147.392);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.164 0.027 167.545);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.164 0.027 167.545);
  --border: oklch(0.927 0.007 170.397);
  --input: oklch(0.927 0.007 170.397);
  --primary: oklch(0.576 0.022 169.499);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.03 148.002);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.574 0.018 204.789);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.517 0.206 28.565);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.022 169.499);
  --chart-1: oklch(0.576 0.022 169.499);
  --chart-2: oklch(0.574 0.03 148.002);
  --chart-3: oklch(0.574 0.018 204.789);
  --chart-4: oklch(0.6 0.031 147.998);
  --chart-5: oklch(0.582 0.031 169.018);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.017 168.687);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.214 0.025 147.192);
  --muted-foreground: oklch(0.771 0.04 148.003);
  --popover: oklch(0.156 0.017 168.687);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.156 0.017 168.687);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.233 0.011 169.185);
  --input: oklch(0.233 0.011 169.185);
  --primary: oklch(0.576 0.022 169.499);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.03 148.002);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.574 0.018 204.789);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.604 0.236 28.237);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.576 0.022 169.499);
  --chart-1: oklch(0.576 0.022 169.499);
  --chart-2: oklch(0.574 0.03 148.002);
  --chart-3: oklch(0.574 0.018 204.789);
  --chart-4: oklch(0.6 0.031 147.998);
  --chart-5: oklch(0.582 0.031 169.018);
}