Cool Blue Jay for shadcn/ui

Cool Blue Jay is a shadcn/ui theme built around a vivid blue primary color (#4f87e8) with vivid orange accents (#e8b04f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#4f87e8) on a blue-tinted background (#04070b).

Color palette

TokenLightDark
Background
#ffffffwhite
#04070bblack
Foreground
#010409black
#ffffffwhite
Card
#fcfcfcsnow
#05090fblack
Card foreground
#010205black
#ffffffwhite
Popover
#fcfcfcsnow
#05090fblack
Popover foreground
#010205black
#ffffffwhite
Primary
#4f87e8cornflowerblue
#4f87e8cornflowerblue
Primary foreground
#000000black
#000000black
Secondary
#e8b04fsandybrown
#e8b04fsandybrown
Secondary foreground
#050301black
#050301black
Muted
#e8e6e3gainsboro
#1c1a17black
Muted foreground
#56534ddarkolivegreen
#b2afa9darkgray
Accent
#e8b04fsandybrown
#e8b04fsandybrown
Accent foreground
#050301black
#050301black
Destructive
#8b3304saddlebrown
#f96c1fchocolate
Destructive foreground
#fdd8c3peachpuff
#000000black
Border
#efeff1whitesmoke
#1f2123black
Input
#efeff1whitesmoke
#1f2123black
Ring
#4f87e8cornflowerblue
#4f87e8cornflowerblue

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.30:1AAA
Primary button5.97:1AA
Secondary button10.54:1AAA
Muted text6.15:1AA
Accent10.54:1AAA
Destructive6.12:1AA
Dark mode
Text on background20.20:1AAA
Text on card19.95:1AAA
Primary button5.97:1AA
Secondary button10.54:1AAA
Muted text7.93:1AAA
Accent10.54:1AAA
Destructive7.18:1AAA

CSS variables

Paste this into your globals.css to use Cool Blue Jay in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.104 0.02 249.109);
  --muted: oklch(0.926 0.004 81.513);
  --muted-foreground: oklch(0.443 0.011 81.485);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.083 0.016 249.109);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.083 0.016 249.109);
  --border: oklch(0.953 0.002 261.514);
  --input: oklch(0.953 0.002 261.514);
  --primary: oklch(0.633 0.158 260.572);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.791 0.13 78.465);
  --secondary-foreground: oklch(0.099 0.015 90.118);
  --accent: oklch(0.791 0.13 78.465);
  --accent-foreground: oklch(0.099 0.015 90.118);
  --destructive: oklch(0.442 0.13 42.226);
  --destructive-foreground: oklch(0.908 0.05 49.997);
  --ring: oklch(0.633 0.158 260.572);
  --chart-1: oklch(0.633 0.158 260.572);
  --chart-2: oklch(0.791 0.13 78.465);
  --chart-3: oklch(0.791 0.13 78.465);
  --chart-4: oklch(0.806 0.123 79.192);
  --chart-5: oklch(0.631 0.164 260.551);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 255.051);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.219 0.006 81.477);
  --muted-foreground: oklch(0.754 0.01 81.507);
  --popover: oklch(0.138 0.015 257.081);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.015 257.081);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.245 0.006 261.489);
  --input: oklch(0.245 0.006 261.489);
  --primary: oklch(0.633 0.158 260.572);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.791 0.13 78.465);
  --secondary-foreground: oklch(0.099 0.015 90.118);
  --accent: oklch(0.791 0.13 78.465);
  --accent-foreground: oklch(0.099 0.015 90.118);
  --destructive: oklch(0.695 0.191 43.755);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.633 0.158 260.572);
  --chart-1: oklch(0.633 0.158 260.572);
  --chart-2: oklch(0.791 0.13 78.465);
  --chart-3: oklch(0.791 0.13 78.465);
  --chart-4: oklch(0.806 0.123 79.192);
  --chart-5: oklch(0.631 0.164 260.551);
}