Free Accessible CSS Gradient Generator

← All Colors
#4682B4 Steel Blue

Steel Blue Hex Code #4682B4

Steel Blue is a medium, moderate blue with the hex code #4682B4. In RGB it is 70, 130, 180, and in HSL it is 207°, 44%, 49%. It is one of the 148 named colors in CSS, so you can write “steelblue” instead of the hex code.

HEX
#4682B4
RGB
rgb(70, 130, 180)
HSL
hsl(207, 44%, 49%)
HSV
hsv(207°, 61%, 71%)
CMYK
cmyk(61%, 28%, 0%, 29%)
CSS name
steelblue

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Steel Blue

On a white background Steel Blue has a contrast ratio of 4.11:1 (AA Large), and on black 5.11:1 (AA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Blue is the most common color in interfaces. It signals trust and calm, which is why banks, software and healthcare brands favour it.

Shades and tints of Steel Blue

Tints mix Steel Blue with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Steel Blue

These schemes are calculated from Steel Blue on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Steel Blue is #B47446, close to the named color Sienna.

Steel Blue contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Steel Blue scores against white and black.

Contrast of Steel Blue with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 4.11:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 5.11:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Steel Blue4.11:1
Aa Black text on Steel Blue5.11:1

Steel Blue and color blindness

These are approximate previews of how Steel Blue can look with the main types of color vision deficiency.

Protanopia #6C83B6

Steel Blue shifts slightly.

Deuteranopia #5D78B3

Steel Blue shifts slightly.

Tritanopia #008E93

Steel Blue changes noticeably.

Achromatopsia #7D7D7D

Steel Blue changes noticeably.

Gradients with Steel Blue

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Steel Blue to a lighter tint

background: linear-gradient(135deg, #4682b4 0%, #b5cde1 100%);

Steel Blue to its analogous neighbour

background: linear-gradient(135deg, #4682b4 0%, #464bb4 100%);

Steel Blue to its complement

background: linear-gradient(135deg, #4682b4 0%, #b47846 100%);

Colors similar to Steel Blue

How each close match differs from Steel Blue.

More blue colors →

Use Steel Blue in code

CSS
.element {
  color: #4682b4;
  background-color: #4682b4;
  border-color: steelblue;   /* steelblue is a valid CSS color name */
}
CSS variable
:root {
  --color-steel-blue: #4682b4;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#4682b4] text-[#4682b4] border-[#4682b4]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-steel-blue: #4682b4;
}

Steel Blue questions

What is the hex code for Steel Blue?

The hex code for Steel Blue is #4682B4. In RGB that is rgb(70, 130, 180), and in HSL it is hsl(207, 44%, 49%).

What is the complementary color of Steel Blue?

On the RGB (screen) color wheel, the complement of Steel Blue is #B47846, which is close to Peru. On the artist’s RYB wheel it is #B47446, close to Sienna.

Should I use white or black text on Steel Blue?

Black text. It has a contrast ratio of 5.11:1 against Steel Blue, which is WCAG AA. The other option scores 4.11:1.

Is Steel Blue accessible as a text color on white?

Only for large text. Steel Blue on white scores 4.11:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Steel Blue?

Mixing Steel Blue with black gives #386890, #2A4E6C, #1C3448, #0E1A24 (20% to 80% black). Mixing it with white gives #6B9BC3, #90B4D2, #B5CDE1, #DAE6F0 (20% to 80% white).

More color tools