Clear Blue Tick for shadcn/ui

Clear Blue Tick is a shadcn/ui theme built around a vivid blue primary color (#007bff) with muted light red accents (#ccc2c2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#007bff) on a blue-tinted background (#062147).

Color palette

TokenLightDark
Background
#ffffffwhite
#062147midnightblue
Foreground
#020509black
#ffffffwhite
Card
#fcfcfcsnow
#051936black
Card foreground
#010204black
#ffffffwhite
Popover
#fcfcfcsnow
#031a34black
Popover foreground
#010204black
#ffffffwhite
Primary
#007bffdodgerblue
#007bffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dededegainsboro
#5781adsteelblue
Secondary foreground
#454545darkslategray
#ffffffwhite
Muted
#e5dcdcgainsboro
#083361midnightblue
Muted foreground
#645959dimgray
#9ea9b5darkgray
Accent
#ccc2c2silver
#114378midnightblue
Accent foreground
#322a2adarkslategray
#beccdalightsteelblue
Destructive
#e60f00red
#ff4133tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eef0f2whitesmoke
#123964midnightblue
Input
#eef0f2whitesmoke
#123964midnightblue
Ring
#007bffdodgerblue
#007bffdodgerblue

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.30:1AAA
Primary button3.97:1AA Large
Secondary button7.11:1AAA
Muted text5.00:1AA
Accent8.03:1AAA
Destructive4.75:1AA
Dark mode
Text on background15.95:1AAA
Text on card17.47:1AAA
Primary button3.97:1AA Large
Secondary button4.08:1AA Large
Muted text5.30:1AA
Accent6.12:1AA
Destructive3.47:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.11 0.016 239.56);
  --muted: oklch(0.902 0.009 17.331);
  --muted-foreground: oklch(0.474 0.015 17.686);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.088 0.012 239.56);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.088 0.012 239.56);
  --border: oklch(0.953 0.004 249.687);
  --input: oklch(0.953 0.004 249.687);
  --primary: oklch(0.605 0.216 257.16);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.9 0 188.746);
  --secondary-foreground: oklch(0.39 0 165.964);
  --accent: oklch(0.822 0.011 17.388);
  --accent-foreground: oklch(0.293 0.012 17.872);
  --destructive: oklch(0.583 0.235 29.859);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.605 0.216 257.16);
  --chart-1: oklch(0.605 0.216 257.16);
  --chart-2: oklch(0.9 0 188.746);
  --chart-3: oklch(0.822 0.011 17.388);
  --chart-4: oklch(0.923 0 153.435);
  --chart-5: oklch(0.608 0.221 257.449);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.253 0.078 257.756);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.322 0.092 254.082);
  --muted-foreground: oklch(0.731 0.021 249.909);
  --popover: oklch(0.217 0.058 251.909);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.217 0.063 257.019);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.343 0.087 253.033);
  --input: oklch(0.342 0.087 253.556);
  --primary: oklch(0.605 0.216 257.16);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.59 0.083 250.946);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.381 0.105 253.679);
  --accent-foreground: oklch(0.838 0.025 249.914);
  --destructive: oklch(0.659 0.228 28.982);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.605 0.216 257.16);
  --chart-1: oklch(0.605 0.216 257.16);
  --chart-2: oklch(0.59 0.083 250.946);
  --chart-3: oklch(0.381 0.105 253.679);
  --chart-4: oklch(0.616 0.077 250.777);
  --chart-5: oklch(0.608 0.221 257.449);
}