Steel Blue hex and RGB values
The CSS keyword steelblue gives you #4682B4, or rgb(70, 130, 180).
Steel Blue is a medium blue that can draw attention to a label. Small text needs particular care: its contrast on white is below the AA normal-text threshold.
Compare black and white text
| Text / background | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| #000000 / #4682B4 | 5.11:1 | Pass | Pass | Fail | Pass |
| #FFFFFF / #4682B4 | 4.11:1 | Fail | Pass | Fail | Fail |
Black text has the higher contrast on steel blue: 5.11:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.
Try steel blue in a layout
The CSS sample below uses black text on #4682B4. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try steel blue as the text color; the ratio stays the same.
.sample {
background: #4682B4;
color: #000000;
}Copy the exact color
Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.