Renewed Clear Blue for shadcn/ui

Renewed Clear Blue is a shadcn/ui theme built around a vivid blue primary color (#007bff) with near-white accents (#f4f4f5). The light mode uses a neutral background (#f9fafb). Dark mode keeps the vivid blue primary (#007bff) on a violet-tinted background (#0a090b).

Color palette

TokenLightDark
Background
#f9fafbghostwhite
#0a090bblack
Foreground
#010204black
#fafafasnow
Card
#ffffffwhite
#141414black
Card foreground
#010204black
#fafafasnow
Popover
#ffffffwhite
#141414black
Popover foreground
#010204black
#fafafasnow
Primary
#007bffdodgerblue
#007bffdodgerblue
Primary foreground
#ffffffwhite
#e5e5e5gainsboro
Secondary
#d4d6d8lightgrey
#27272adarkslategray
Secondary foreground
#3a3d40darkslategray
#fafafasnow
Muted
#e5ebf5lavender
#27272adarkslategray
Muted foreground
#424242darkslategray
#a1a1aadarkgray
Accent
#f4f4f5whitesmoke
#27272adarkslategray
Accent foreground
#18181bblack
#fafafasnow
Destructive
#f1175dcrimson
#f1175dcrimson
Destructive foreground
#fafafasnow
#fafafasnow
Border
#ebedf0lavender
#27272adarkslategray
Input
#ebedf0lavender
#27272adarkslategray
Ring
#18181bblack
#d4d4d8lightgrey

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card20.75:1AAA
Primary button3.97:1AA Large
Secondary button7.49:1AAA
Muted text8.39:1AAA
Accent16.12:1AAA
Destructive4.00:1AA Large
Dark mode
Text on background19.03:1AAA
Text on card17.65:1AAA
Primary button3.15:1AA Large
Secondary button14.26:1AAA
Muted text5.80:1AA
Accent14.26:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.002 247.839);
  --foreground: oklch(0.084 0.012 255.886);
  --muted: oklch(0.938 0.015 260.729);
  --muted-foreground: oklch(0.379 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.084 0.012 255.886);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.084 0.012 255.886);
  --border: oklch(0.945 0.005 258.325);
  --input: oklch(0.945 0.005 258.325);
  --primary: oklch(0.605 0.217 257.215);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.875 0.004 247.864);
  --secondary-foreground: oklch(0.358 0.007 248.012);
  --accent: oklch(0.968 0.001 286.375);
  --accent-foreground: oklch(0.21 0.006 285.883);
  --destructive: oklch(0.616 0.238 12.273);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.21 0.006 285.883);
  --chart-1: oklch(0.605 0.217 257.215);
  --chart-2: oklch(0.875 0.004 247.864);
  --chart-3: oklch(0.9 0.003 247.862);
  --chart-4: oklch(0.807 0.082 251.602);
  --chart-5: oklch(0.902 0.04 251.777);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.005 308.447);
  --foreground: oklch(0.985 0 180);
  --muted: oklch(0.274 0.005 286.033);
  --muted-foreground: oklch(0.712 0.013 286.068);
  --popover: oklch(0.191 0 180);
  --popover-foreground: oklch(0.985 0 180);
  --card: oklch(0.191 0 180);
  --card-foreground: oklch(0.985 0 180);
  --border: oklch(0.274 0.005 286.033);
  --input: oklch(0.274 0.005 286.033);
  --primary: oklch(0.605 0.217 257.215);
  --primary-foreground: oklch(0.922 0 168.69);
  --secondary: oklch(0.274 0.005 286.033);
  --secondary-foreground: oklch(0.985 0 180);
  --accent: oklch(0.274 0.005 286.033);
  --accent-foreground: oklch(0.985 0 180);
  --destructive: oklch(0.616 0.238 12.273);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.871 0.005 286.285);
  --chart-1: oklch(0.53 0.193 262.051);
  --chart-2: oklch(0.248 0 180);
  --chart-3: oklch(0.273 0 180);
  --chart-4: oklch(0.417 0 180);
  --chart-5: oklch(0.489 0 153.435);
}