Zoophagous Clear Blue for shadcn/ui

Zoophagous Clear Blue is a shadcn/ui theme built around a vivid blue primary color (#297bff) with vivid indigo accents (#4229ff). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the vivid blue primary (#297bff) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#000000black
Foreground
#010204black
#fcfcfdwhite
Card
#f8f9fcghostwhite
#000000black
Card foreground
#010204black
#fcfcfdwhite
Popover
#f8f9fcghostwhite
#000000black
Popover foreground
#010204black
#fcfcfdwhite
Primary
#297bffdodgerblue
#297bffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#10e3ffaqua
#29e6ffaqua
Secondary foreground
#000000black
#000000black
Muted
#d4e6e8gainsboro
#17292bdarkslategray
Muted foreground
#666666dimgray
#999999darkgray
Accent
#4229ffroyalblue
#4229ffroyalblue
Accent foreground
#f6f5ffghostwhite
#f6f5ffghostwhite
Destructive
#c90d03firebrick
#f13709orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ecedefwhitesmoke
#1a1c1eblack
Input
#ecedefwhitesmoke
#1a1c1eblack
Ring
#297bffdodgerblue
#297bffdodgerblue

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button3.91:1AA Large
Secondary button13.46:1AAA
Muted text4.44:1AA Large
Accent6.49:1AA
Destructive5.92:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.48:1AAA
Primary button3.91:1AA Large
Secondary button13.85:1AAA
Muted text5.30:1AA
Accent6.49:1AA
Destructive3.96:1AA Large

CSS variables

Paste this into your globals.css to use Zoophagous Clear Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 259.938);
  --foreground: oklch(0.084 0.014 248.498);
  --muted: oklch(0.911 0.02 206.327);
  --muted-foreground: oklch(0.51 0 171.87);
  --popover: oklch(0.983 0.003 259.938);
  --popover-foreground: oklch(0.084 0.014 248.498);
  --card: oklch(0.983 0.003 259.938);
  --card-foreground: oklch(0.084 0.014 248.498);
  --border: oklch(0.945 0.003 259.937);
  --input: oklch(0.945 0.003 259.937);
  --primary: oklch(0.61 0.212 259.929);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.84 0.144 210.576);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.495 0.286 273.574);
  --accent-foreground: oklch(0.973 0.014 291.516);
  --destructive: oklch(0.528 0.212 29.643);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.61 0.212 259.929);
  --chart-1: oklch(0.61 0.212 259.929);
  --chart-2: oklch(0.84 0.144 210.576);
  --chart-3: oklch(0.495 0.286 273.574);
  --chart-4: oklch(0.846 0.143 209.734);
  --chart-5: oklch(0.61 0.217 260.017);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 259.935);
  --muted: oklch(0.266 0.024 206.386);
  --muted-foreground: oklch(0.683 0 180);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 259.935);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.001 259.935);
  --border: oklch(0.224 0.006 259.944);
  --input: oklch(0.224 0.006 259.944);
  --primary: oklch(0.61 0.212 259.929);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.849 0.141 209.25);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.495 0.286 273.574);
  --accent-foreground: oklch(0.973 0.014 291.516);
  --destructive: oklch(0.625 0.226 33.185);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.61 0.212 259.929);
  --chart-1: oklch(0.61 0.212 259.929);
  --chart-2: oklch(0.849 0.141 209.25);
  --chart-3: oklch(0.495 0.286 273.574);
  --chart-4: oklch(0.855 0.137 208.588);
  --chart-5: oklch(0.61 0.217 260.017);
}