Cautious Raiden Blue for shadcn/ui

Cautious Raiden Blue is a shadcn/ui theme built around a vivid blue primary color (#0757a6) with muted blue accents (#a9b3bc). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#0757a6) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#fbfcfewhite
#010304black
Foreground
#02080dblack
#fcfcfdwhite
Card
#fbfcfewhite
#010304black
Card foreground
#02080dblack
#fcfcfdwhite
Popover
#fbfcfewhite
#010304black
Popover foreground
#02080dblack
#fcfcfdwhite
Primary
#0757a6teal
#0757a6teal
Primary foreground
#e2f0felavender
#e2f0felavender
Secondary
#c9cccflightgrey
#26292bdarkslategray
Secondary foreground
#303336darkslategray
#bec2c5silver
Muted
#e0e8f0lavender
#0f171fblack
Muted foreground
#4f5964dimgray
#9ba6b0darkgray
Accent
#a9b3bcdarkgray
#303840darkslategray
Accent foreground
#161a1dblack
#cbd1d8lightgrey
Destructive
#6a1101maroon
#fd310dorangered
Destructive foreground
#fead9flightpink
#ffffffwhite
Border
#eef0f1whitesmoke
#22262adarkslategray
Input
#eef0f1whitesmoke
#22262adarkslategray
Ring
#0757a6teal
#0757a6teal

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button6.21:1AA
Secondary button7.88:1AAA
Muted text5.76:1AA
Accent8.18:1AAA
Destructive6.90:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button6.21:1AA
Secondary button8.17:1AAA
Muted text7.29:1AAA
Accent7.71:1AAA
Destructive3.75:1AA Large

CSS variables

Paste this into your globals.css to use Cautious Raiden Blue in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 247.851);
  --foreground: oklch(0.127 0.018 239.11);
  --muted: oklch(0.927 0.014 247.982);
  --muted-foreground: oklch(0.46 0.022 248.307);
  --popover: oklch(0.992 0.003 247.851);
  --popover-foreground: oklch(0.127 0.018 239.11);
  --card: oklch(0.992 0.003 247.851);
  --card-foreground: oklch(0.127 0.018 239.11);
  --border: oklch(0.953 0.003 247.853);
  --input: oklch(0.953 0.003 247.853);
  --primary: oklch(0.46 0.146 254.689);
  --primary-foreground: oklch(0.948 0.024 248.084);
  --secondary: oklch(0.844 0.005 247.878);
  --secondary-foreground: oklch(0.32 0.006 248.008);
  --accent: oklch(0.76 0.018 248.066);
  --accent-foreground: oklch(0.214 0.008 248.215);
  --destructive: oklch(0.34 0.125 32.753);
  --destructive-foreground: oklch(0.823 0.098 30.35);
  --ring: oklch(0.46 0.146 254.689);
  --chart-1: oklch(0.46 0.146 254.689);
  --chart-2: oklch(0.844 0.005 247.878);
  --chart-3: oklch(0.76 0.018 248.066);
  --chart-4: oklch(0.868 0.004 247.868);
  --chart-5: oklch(0.462 0.149 255.009);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.01 240.037);
  --foreground: oklch(0.992 0.001 247.83);
  --muted: oklch(0.2 0.021 248.901);
  --muted-foreground: oklch(0.719 0.02 248.103);
  --popover: oklch(0.089 0.01 240.037);
  --popover-foreground: oklch(0.992 0.001 247.83);
  --card: oklch(0.089 0.01 240.037);
  --card-foreground: oklch(0.992 0.001 247.83);
  --border: oklch(0.267 0.01 248.199);
  --input: oklch(0.267 0.01 248.199);
  --primary: oklch(0.46 0.146 254.689);
  --primary-foreground: oklch(0.948 0.024 248.084);
  --secondary: oklch(0.279 0.006 248.034);
  --secondary-foreground: oklch(0.812 0.007 247.906);
  --accent: oklch(0.337 0.017 248.345);
  --accent-foreground: oklch(0.858 0.011 247.959);
  --destructive: oklch(0.641 0.24 31.675);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.46 0.146 254.689);
  --chart-1: oklch(0.46 0.146 254.689);
  --chart-2: oklch(0.279 0.006 248.034);
  --chart-3: oklch(0.337 0.017 248.345);
  --chart-4: oklch(0.309 0.007 248.042);
  --chart-5: oklch(0.462 0.149 255.009);
}