Le Grand Bleu Kangaroo for shadcn/ui

Le Grand Bleu Kangaroo is a shadcn/ui theme built around a blue primary color (#294e94) with vivid blue accents (#227dfd). The light mode uses a blue-tinted background (#e2e3e6). Dark mode keeps the blue primary (#294e94) on a blue-tinted background (#313b4e).

Color palette

TokenLightDark
Background
#e2e3e6gainsboro
#313b4edarkslategray
Foreground
#030a17black
#f8f9fcghostwhite
Card
#fcfcfcsnow
#1e222bdarkslategray
Card foreground
#020812black
#fbfcfdwhite
Popover
#fcfcfcsnow
#06090fblack
Popover foreground
#020812black
#fbfcfdwhite
Primary
#294e94darkslateblue
#294e94darkslateblue
Primary foreground
#f3f6fcaliceblue
#f3f6fcaliceblue
Secondary
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#c5c5c5silver
#1a1814black
Muted foreground
#494237darkslategray
#c8c2b6silver
Accent
#227dfddodgerblue
#227dfddodgerblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ff541eorangered
#ff541eorangered
Destructive foreground
#fde9e3mistyrose
#000000black
Border
#eeeff2whitesmoke
#181b20black
Input
#eeeff2whitesmoke
#181b20black
Ring
#294e94darkslateblue
#294e94darkslateblue

Contrast

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

Light mode
Text on background15.47:1AAA
Text on card19.64:1AAA
Primary button7.41:1AAA
Secondary button11.20:1AAA
Muted text5.73:1AA
Accent3.87:1AA Large
Destructive2.74:1Fail
Dark mode
Text on background10.62:1AAA
Text on card15.45:1AAA
Primary button7.41:1AAA
Secondary button11.22:1AAA
Muted text10.03:1AAA
Accent3.85:1AA Large
Destructive6.53:1AA

CSS variables

Paste this into your globals.css to use Le Grand Bleu Kangaroo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.916 0.004 263.046);
  --foreground: oklch(0.143 0.032 256.374);
  --muted: oklch(0.823 0 172.875);
  --muted-foreground: oklch(0.383 0.021 82.972);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.132 0.027 254.098);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.132 0.027 254.098);
  --border: oklch(0.952 0.004 263.046);
  --input: oklch(0.952 0.004 263.046);
  --primary: oklch(0.436 0.123 261.504);
  --primary-foreground: oklch(0.973 0.008 263.038);
  --secondary: oklch(0.352 0 180);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.611 0.208 258.52);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.676 0.216 36.305);
  --destructive-foreground: oklch(0.948 0.024 37.643);
  --ring: oklch(0.436 0.123 261.504);
  --chart-1: oklch(0.436 0.123 261.504);
  --chart-2: oklch(0.352 0 180);
  --chart-3: oklch(0.611 0.208 258.52);
  --chart-4: oklch(0.382 0 180);
  --chart-5: oklch(0.435 0.129 261.456);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.353 0.036 262.595);
  --foreground: oklch(0.983 0.004 263.047);
  --muted: oklch(0.209 0.007 83.046);
  --muted-foreground: oklch(0.816 0.017 83.063);
  --popover: oklch(0.138 0.014 259.016);
  --popover-foreground: oklch(0.991 0.002 263.05);
  --card: oklch(0.253 0.018 262.782);
  --card-foreground: oklch(0.991 0.002 263.05);
  --border: oklch(0.221 0.011 262.895);
  --input: oklch(0.221 0.011 262.895);
  --primary: oklch(0.436 0.123 261.504);
  --primary-foreground: oklch(0.973 0.008 263.038);
  --secondary: oklch(0.352 0 180);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.208 258.416);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.676 0.216 36.305);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.436 0.123 261.504);
  --chart-1: oklch(0.436 0.123 261.504);
  --chart-2: oklch(0.352 0 180);
  --chart-3: oklch(0.612 0.208 258.416);
  --chart-4: oklch(0.381 0 180);
  --chart-5: oklch(0.435 0.129 261.456);
}