Alert Jellyfish Blue for shadcn/ui

Alert Jellyfish Blue is a shadcn/ui theme built around a cyan primary color (#98c9cd) with blue accents (#98aecd). The light mode uses a neutral background (#fbfefe). Dark mode keeps the cyan primary (#98c9cd) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfefewhite
#020303black
Foreground
#010809black
#f8fbfbghostwhite
Card
#fbfefewhite
#020303black
Card foreground
#010809black
#f8fbfbghostwhite
Popover
#fbfefewhite
#020303black
Popover foreground
#010809black
#f8fbfbghostwhite
Primary
#98c9cdlightsteelblue
#98c9cdlightsteelblue
Primary foreground
#112122black
#112122black
Secondary
#98cdb7darkgray
#98cdb7darkgray
Secondary foreground
#11221bblack
#11221bblack
Muted
#d2e4ddgainsboro
#1b2d25darkslategray
Muted foreground
#606261dimgray
#9d9f9edarkgray
Accent
#98aecdlightsteelblue
#98aecdlightsteelblue
Accent foreground
#111822black
#111822black
Destructive
#893406saddlebrown
#f67028tomato
Destructive foreground
#fdd8c4peachpuff
#000000black
Border
#e9ecedlavender
#191e1fblack
Input
#e9ecedlavender
#191e1fblack
Ring
#98c9cdlightsteelblue
#98c9cdlightsteelblue

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button9.13:1AAA
Secondary button9.28:1AAA
Muted text4.65:1AA
Accent7.87:1AAA
Destructive6.18:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button9.13:1AAA
Secondary button9.28:1AAA
Muted text5.46:1AA
Accent7.87:1AAA
Destructive7.25:1AAA

CSS variables

Paste this into your globals.css to use Alert Jellyfish Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 203.55);
  --foreground: oklch(0.125 0.016 200.631);
  --muted: oklch(0.904 0.021 168.983);
  --muted-foreground: oklch(0.494 0.003 169.513);
  --popover: oklch(0.994 0.003 203.55);
  --popover-foreground: oklch(0.125 0.016 200.631);
  --card: oklch(0.994 0.003 203.55);
  --card-foreground: oklch(0.125 0.016 200.631);
  --border: oklch(0.941 0.004 203.541);
  --input: oklch(0.941 0.004 203.541);
  --primary: oklch(0.802 0.052 203.154);
  --primary-foreground: oklch(0.234 0.022 203.133);
  --secondary: oklch(0.806 0.064 167.175);
  --secondary-foreground: oklch(0.235 0.028 165.628);
  --accent: oklch(0.745 0.052 256.814);
  --accent-foreground: oklch(0.207 0.024 256.855);
  --destructive: oklch(0.44 0.127 42.621);
  --destructive-foreground: oklch(0.908 0.049 50.016);
  --ring: oklch(0.802 0.052 203.154);
  --chart-1: oklch(0.802 0.052 203.154);
  --chart-2: oklch(0.806 0.064 167.175);
  --chart-3: oklch(0.745 0.052 256.814);
  --chart-4: oklch(0.825 0.058 167.51);
  --chart-5: oklch(0.806 0.056 203.141);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.006 201.969);
  --foreground: oklch(0.987 0.003 203.553);
  --muted: oklch(0.277 0.027 166.453);
  --muted-foreground: oklch(0.701 0.003 169.569);
  --popover: oklch(0.096 0.006 201.969);
  --popover-foreground: oklch(0.987 0.003 203.553);
  --card: oklch(0.096 0.006 201.969);
  --card-foreground: oklch(0.987 0.003 203.553);
  --border: oklch(0.232 0.008 203.311);
  --input: oklch(0.232 0.008 203.311);
  --primary: oklch(0.802 0.052 203.154);
  --primary-foreground: oklch(0.234 0.022 203.133);
  --secondary: oklch(0.806 0.064 167.175);
  --secondary-foreground: oklch(0.235 0.028 165.628);
  --accent: oklch(0.745 0.052 256.814);
  --accent-foreground: oklch(0.207 0.024 256.855);
  --destructive: oklch(0.697 0.183 44.654);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.802 0.052 203.154);
  --chart-1: oklch(0.802 0.052 203.154);
  --chart-2: oklch(0.806 0.064 167.175);
  --chart-3: oklch(0.745 0.052 256.814);
  --chart-4: oklch(0.825 0.058 167.51);
  --chart-5: oklch(0.806 0.056 203.141);
}