Digital Huelveño Horizon (Blue/Red) for shadcn/ui

Digital Huelveño Horizon (Blue/Red) is a shadcn/ui theme built around a vivid cyan primary color (#23a9e7) with muted light cyan accents (#d1d8db). The light mode uses a neutral background (#f8fafb). Dark mode keeps the vivid cyan primary (#23a9e7) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#f8fafbghostwhite
#030607black
Foreground
#020608black
#f8fbfcghostwhite
Card
#f8fafbghostwhite
#030607black
Card foreground
#020608black
#f8fbfcghostwhite
Popover
#f8fafbghostwhite
#030607black
Popover foreground
#020608black
#f8fbfcghostwhite
Primary
#23a9e7dodgerblue
#23a9e7dodgerblue
Primary foreground
#000000black
#000000black
Secondary
#e9ebeclavender
#131516black
Secondary foreground
#4d5356darkslategray
#a8afb3darkgray
Muted
#dbe6ebgainsboro
#141f24black
Muted foreground
#586b74dimgray
#8b9ea7darkgray
Accent
#d1d8dblightgrey
#232b2fdarkslategray
Accent foreground
#364045darkslategray
#b9c5casilver
Destructive
#671c09maroon
#eb471eorangered
Destructive foreground
#f8baablightpink
#ffffffwhite
Border
#e2e3e4gainsboro
#252727darkslategray
Input
#e2e3e4gainsboro
#252727darkslategray
Ring
#23a9e7dodgerblue
#23a9e7dodgerblue

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.50:1AAA
Primary button7.85:1AAA
Secondary button6.54:1AA
Muted text4.37:1AA Large
Accent7.37:1AAA
Destructive7.21:1AAA
Dark mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button7.85:1AAA
Secondary button8.24:1AAA
Muted text6.03:1AA
Accent8.17:1AAA
Destructive3.84:1AA Large

CSS variables

Paste this into your globals.css to use Digital Huelveño Horizon (Blue/Red) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 226.89);
  --foreground: oklch(0.117 0.012 221.2);
  --muted: oklch(0.918 0.013 227.04);
  --muted-foreground: oklch(0.516 0.027 227.657);
  --popover: oklch(0.985 0.003 226.89);
  --popover-foreground: oklch(0.117 0.012 221.2);
  --card: oklch(0.985 0.003 226.89);
  --card-foreground: oklch(0.117 0.012 221.2);
  --border: oklch(0.916 0.001 226.876);
  --input: oklch(0.916 0.001 226.876);
  --primary: oklch(0.694 0.14 235.478);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.939 0.002 226.884);
  --secondary-foreground: oklch(0.439 0.01 227.153);
  --accent: oklch(0.878 0.008 226.976);
  --accent-foreground: oklch(0.364 0.015 227.466);
  --destructive: oklch(0.347 0.111 34.642);
  --destructive-foreground: oklch(0.841 0.075 34.474);
  --ring: oklch(0.694 0.14 235.478);
  --chart-1: oklch(0.694 0.14 235.478);
  --chart-2: oklch(0.939 0.002 226.884);
  --chart-3: oklch(0.878 0.008 226.976);
  --chart-4: oklch(0.962 0.001 226.874);
  --chart-5: oklch(0.698 0.143 235.973);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.009 222.425);
  --foreground: oklch(0.985 0.003 226.893);
  --muted: oklch(0.231 0.018 228.203);
  --muted-foreground: oklch(0.688 0.026 227.38);
  --popover: oklch(0.117 0.009 222.425);
  --popover-foreground: oklch(0.985 0.003 226.893);
  --card: oklch(0.117 0.009 222.425);
  --card-foreground: oklch(0.985 0.003 226.893);
  --border: oklch(0.27 0.003 226.979);
  --input: oklch(0.27 0.003 226.979);
  --primary: oklch(0.694 0.14 235.478);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.194 0.004 227.093);
  --secondary-foreground: oklch(0.75 0.01 227.028);
  --accent: oklch(0.283 0.013 227.514);
  --accent-foreground: oklch(0.816 0.015 227.092);
  --destructive: oklch(0.63 0.207 34.43);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.694 0.14 235.478);
  --chart-1: oklch(0.694 0.14 235.478);
  --chart-2: oklch(0.194 0.004 227.093);
  --chart-3: oklch(0.283 0.013 227.514);
  --chart-4: oklch(0.227 0.005 227.125);
  --chart-5: oklch(0.698 0.143 235.973);
}