Inspect SteelBlue (#4682B4) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
SteelBlue
#4682B4
Black text reads best on this background, at 5.11:1.
SteelBlue is one of the 148 CSS named colors, and resolves to #4682B4 in every browser. In numbers that is rgb(70, 130, 180) and hsl(207, 44%, 49%). Perceptually it is a mid-toned, muted color: OKLCH puts its lightness at 59% and its chroma at 0.099. It sits in the blues at 246 degrees of OKLCH hue, and reads as a cool color.
White text only reaches 4.11:1 here, so black text is the safer pairing at 5.11:1. That combination of lightness and chroma makes it a workable mid-tone, the kind of value that lands in the middle of a shade scale.
The closest CSS named colors to SteelBlue, measured with CIEDE2000, are DodgerBlue (#1E90FF), CornflowerBlue (#6495ED), RoyalBlue (#4169E1). If SteelBlue is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#4682B4
RGB
rgb(70, 130, 180)
HSL
hsl(207, 44%, 49%)
HWB
hwb(207 27% 29%)
CMYK
cmyk(61%, 28%, 0%, 29%)
LAB
lab(51.99 -8.36 -32.83)
LCH
lch(51.99 33.88 255.71)
OKLCH
oklch(58.8% 0.0993 245.74)
WCAG asks for 4.5:1 between body text and its background. On #4682B4 white text measures 4.11:1 and black text 5.11:1, so black clears it and white does not.
White text on SteelBlue
WCAG 2.2
4.11:1
APCA
Lc 73
Fails AA body text
Fails AAA body text
Passes AA large text
Black text on SteelBlue
WCAG 2.2
5.11:1
APCA
Lc 36
Passes AA body text
Fails AAA body text
Passes AA large text
Check SteelBlue against any other color in the contrast checker.
SteelBlue sits at 59% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #F3F9FF and down to #000610, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#5E9ACD
20% lighter
#76B3E7
40% lighter
#91CCFF
60% lighter
#C4E3FF
80% lighter
#F3F9FF
100% lighter
#296696
20% darker
#054B7A
40% darker
#003254
60% darker
#001B30
80% darker
#000610
100% darker
Build a full accessible scale from #4682B4 in the shade generator.
Hues rotated around #4682B4 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.
SteelBlue sits at 246 degrees. Rotating it a half turn lands on 66 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.
The neighbors of SteelBlue at 216 and 276 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.
246, 6 and 126 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.
Instead of the complement at 66 degrees, this pair flanks it at 36 and 96. You keep most of the contrast of a complementary pairing while losing the harshness.
Explore more combinations around SteelBlue on the color wheel.
The biggest shift is under achromatopsia, where #4682B4 reads as #797979, 18.9 CIEDE2000 units away. If SteelBlue is the only thing marking a state or a series, roughly one viewer in twelve will miss it.
Protanopia
#6F80B7
Deuteranopia
#6174B3
Tritanopia
#2E8E91
Achromatopsia
#797979
The nearest CSS keywords to #4682B4, ranked by perceptual distance rather than by how close their hex digits happen to look.