Steel for shadcn/ui

Steel is a shadcn/ui theme built around a cyan primary color (#8ce0ed) with blue accents (#8cb0ed). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the cyan primary (#8ce0ed) on a cyan-tinted background (#050e0f).

Color palette

TokenLightDark
Background
#fbfdfewhite
#050e0fblack
Foreground
#010809black
#f5f9f9whitesmoke
Card
#fbfdfewhite
#050e0fblack
Card foreground
#010809black
#f5f9f9whitesmoke
Popover
#fbfdfewhite
#050e0fblack
Popover foreground
#010809black
#f5f9f9whitesmoke
Primary
#8ce0edskyblue
#8ce0edskyblue
Primary foreground
#0a373edarkslategray
#0a373edarkslategray
Secondary
#8cedcaaquamarine
#8cedcaaquamarine
Secondary foreground
#0a3e2bdarkslategray
#0a3e2bdarkslategray
Muted
#e6f4efhoneydew
#0b1914black
Muted foreground
#4b625adimgray
#9db4abdarkgray
Accent
#8cb0edskyblue
#8cb0edskyblue
Accent foreground
#0a1d3emidnightblue
#0a1d3emidnightblue
Destructive
#661505maroon
#f43e1aorangered
Destructive foreground
#fbb1a2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8ce0edskyblue
#8ce0edskyblue

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button8.61:1AAA
Secondary button8.69:1AAA
Muted text5.80:1AA
Accent7.58:1AAA
Destructive7.09:1AAA
Dark mode
Text on background18.41:1AAA
Text on card18.41:1AAA
Primary button8.61:1AAA
Secondary button8.69:1AAA
Muted text8.23:1AAA
Accent7.58:1AAA
Destructive3.77:1AA Large

CSS variables

Paste this into your globals.css to use Steel in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 207.924);
  --foreground: oklch(0.124 0.016 204.22);
  --muted: oklch(0.955 0.016 172.09);
  --muted-foreground: oklch(0.475 0.03 170.577);
  --popover: oklch(0.993 0.002 207.924);
  --popover-foreground: oklch(0.124 0.016 204.22);
  --card: oklch(0.993 0.002 207.924);
  --card-foreground: oklch(0.124 0.016 204.22);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.858 0.083 208.153);
  --primary-foreground: oklch(0.31 0.048 210.107);
  --secondary: oklch(0.877 0.105 168.338);
  --secondary-foreground: oklch(0.324 0.063 163.466);
  --accent: oklch(0.754 0.097 261.079);
  --accent-foreground: oklch(0.236 0.068 260.519);
  --destructive: oklch(0.337 0.117 33.135);
  --destructive-foreground: oklch(0.827 0.089 31.642);
  --ring: oklch(0.858 0.083 208.153);
  --chart-1: oklch(0.858 0.083 208.153);
  --chart-2: oklch(0.877 0.105 168.338);
  --chart-3: oklch(0.754 0.097 261.079);
  --chart-4: oklch(0.889 0.094 168.957);
  --chart-5: oklch(0.861 0.086 208.193);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.014 206.991);
  --foreground: oklch(0.979 0.004 207.916);
  --muted: oklch(0.197 0.022 168.794);
  --muted-foreground: oklch(0.749 0.028 171.468);
  --popover: oklch(0.154 0.014 206.991);
  --popover-foreground: oklch(0.979 0.004 207.916);
  --card: oklch(0.154 0.014 206.991);
  --card-foreground: oklch(0.979 0.004 207.916);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.858 0.083 208.153);
  --primary-foreground: oklch(0.31 0.048 210.107);
  --secondary: oklch(0.877 0.105 168.338);
  --secondary-foreground: oklch(0.324 0.063 163.466);
  --accent: oklch(0.754 0.097 261.079);
  --accent-foreground: oklch(0.236 0.068 260.519);
  --destructive: oklch(0.637 0.222 32.782);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.083 208.153);
  --chart-1: oklch(0.858 0.083 208.153);
  --chart-2: oklch(0.877 0.105 168.338);
  --chart-3: oklch(0.754 0.097 261.079);
  --chart-4: oklch(0.889 0.094 168.957);
  --chart-5: oklch(0.861 0.086 208.193);
}