Vivid Blue Squirrel for shadcn/ui

Vivid Blue Squirrel is a shadcn/ui theme built around a vivid blue primary color (#182ef7) with vivid violet accents (#7118f7). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the vivid blue primary (#182ef7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#000000black
Foreground
#030511black
#f6f6f9whitesmoke
Card
#f8f8fcghostwhite
#030303black
Card foreground
#03040dblack
#f9f9fbghostwhite
Popover
#f8f8fcghostwhite
#030303black
Popover foreground
#03040dblack
#f9f9fbghostwhite
Primary
#182ef7blue
#182ef7blue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#189df7dodgerblue
#189df7dodgerblue
Secondary foreground
#000000black
#000000black
Muted
#eaeef1lavender
#0e1315black
Muted foreground
#3f464bdarkslategray
#b4bbc0silver
Accent
#7118f7blueviolet
#7118f7blueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#87130ddarkred
#ec453ctomato
Destructive foreground
#faceccpink
#ffffffwhite
Border
#eaebf0lavender
#21222cdarkslategray
Input
#eaebf0lavender
#21222cdarkslategray
Ring
#182ef7blue
#182ef7blue

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.34:1AAA
Primary button7.58:1AAA
Secondary button7.22:1AAA
Muted text8.20:1AAA
Accent6.63:1AA
Destructive6.94:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.66:1AAA
Primary button7.58:1AAA
Secondary button7.22:1AAA
Muted text9.64:1AAA
Accent6.63:1AA
Destructive3.83:1AA Large

CSS variables

Paste this into your globals.css to use Vivid Blue Squirrel in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.002 281.25);
  --foreground: oklch(0.12 0.031 273.513);
  --muted: oklch(0.946 0.006 236.526);
  --muted-foreground: oklch(0.39 0.013 236.931);
  --popover: oklch(0.981 0.005 281.213);
  --popover-foreground: oklch(0.108 0.026 273.367);
  --card: oklch(0.981 0.005 281.213);
  --card-foreground: oklch(0.108 0.026 273.367);
  --border: oklch(0.941 0.006 281.176);
  --input: oklch(0.941 0.006 281.176);
  --primary: oklch(0.473 0.283 265.93);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.676 0.168 245.961);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.513 0.279 289.739);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.401 0.15 29.049);
  --destructive-foreground: oklch(0.889 0.05 21.667);
  --ring: oklch(0.473 0.283 265.93);
  --chart-1: oklch(0.473 0.283 265.93);
  --chart-2: oklch(0.676 0.168 245.961);
  --chart-3: oklch(0.513 0.279 289.739);
  --chart-4: oklch(0.692 0.16 244.437);
  --chart-5: oklch(0.474 0.29 265.567);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.004 281.223);
  --muted: oklch(0.181 0.009 237.202);
  --muted-foreground: oklch(0.789 0.011 236.635);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.983 0.003 281.245);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.003 281.245);
  --border: oklch(0.254 0.02 279.938);
  --input: oklch(0.254 0.02 279.938);
  --primary: oklch(0.473 0.283 265.93);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.676 0.168 245.961);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.513 0.279 289.739);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.631 0.205 27.671);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.473 0.283 265.93);
  --chart-1: oklch(0.473 0.283 265.93);
  --chart-2: oklch(0.676 0.168 245.961);
  --chart-3: oklch(0.513 0.279 289.739);
  --chart-4: oklch(0.692 0.16 244.437);
  --chart-5: oklch(0.474 0.29 265.567);
}