Blue Ruin Guppy for shadcn/ui

Blue Ruin Guppy is a shadcn/ui theme built around a blue primary color (#2e66d6) with green accents (#66d62e). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#2e66d6) on a neutral background (#020408).

Color palette

TokenLightDark
Background
#fbfcfewhite
#020408black
Foreground
#03060dblack
#fcfcfdwhite
Card
#fbfcfewhite
#020408black
Card foreground
#03060dblack
#fcfcfdwhite
Popover
#fbfcfewhite
#020408black
Popover foreground
#03060dblack
#fcfcfdwhite
Primary
#2e66d6royalblue
#2e66d6royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d62e66mediumvioletred
#d62e66mediumvioletred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8dee1gainsboro
#21171ablack
Muted foreground
#584b4fdarkslategray
#b4a7abdarkgray
Accent
#66d62elimegreen
#66d62elimegreen
Accent foreground
#162f09black
#162f09black
Destructive
#b84e14sienna
#e86e2cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#ebedeflavender
#17191cblack
Input
#ebedeflavender
#17191cblack
Ring
#2e66d6royalblue
#2e66d6royalblue

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button5.25:1AA
Secondary button4.72:1AA
Muted text6.28:1AA
Accent7.75:1AAA
Destructive5.10:1AA
Dark mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button5.25:1AA
Secondary button4.72:1AA
Muted text7.53:1AAA
Accent7.75:1AAA
Destructive6.66:1AA

CSS variables

Paste this into your globals.css to use Blue Ruin Guppy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 264.544);
  --foreground: oklch(0.12 0.019 255.352);
  --muted: oklch(0.909 0.013 354.983);
  --muted-foreground: oklch(0.428 0.019 355.819);
  --popover: oklch(0.991 0.002 264.544);
  --popover-foreground: oklch(0.12 0.019 255.352);
  --card: oklch(0.991 0.002 264.544);
  --card-foreground: oklch(0.12 0.019 255.352);
  --border: oklch(0.945 0.003 264.54);
  --input: oklch(0.945 0.003 264.54);
  --primary: oklch(0.538 0.182 262.197);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.583 0.204 6.986);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.779 0.221 137.766);
  --accent-foreground: oklch(0.275 0.069 136.927);
  --destructive: oklch(0.553 0.152 43.818);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.538 0.182 262.197);
  --chart-1: oklch(0.538 0.182 262.197);
  --chart-2: oklch(0.583 0.204 6.986);
  --chart-3: oklch(0.779 0.221 137.766);
  --chart-4: oklch(0.6 0.196 5.373);
  --chart-5: oklch(0.537 0.189 262.155);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.013 257.407);
  --foreground: oklch(0.991 0.002 264.546);
  --muted: oklch(0.218 0.018 356.899);
  --muted-foreground: oklch(0.74 0.016 355.212);
  --popover: oklch(0.108 0.013 257.407);
  --popover-foreground: oklch(0.991 0.002 264.546);
  --card: oklch(0.108 0.013 257.407);
  --card-foreground: oklch(0.991 0.002 264.546);
  --border: oklch(0.212 0.007 264.41);
  --input: oklch(0.212 0.007 264.41);
  --primary: oklch(0.538 0.182 262.197);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.583 0.204 6.986);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.779 0.221 137.766);
  --accent-foreground: oklch(0.275 0.069 136.927);
  --destructive: oklch(0.673 0.169 45.341);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.538 0.182 262.197);
  --chart-1: oklch(0.538 0.182 262.197);
  --chart-2: oklch(0.583 0.204 6.986);
  --chart-3: oklch(0.779 0.221 137.766);
  --chart-4: oklch(0.6 0.196 5.373);
  --chart-5: oklch(0.537 0.189 262.155);
}