#5A6F9E color

#5A6F9E rgb(90, 111, 158)
Shades of blue

The hex color #5A6F9E is a desaturated blue.

In the RGB color model it is made of 35.3% red, 43.5% green and 62% blue (90, 111, 158).

Its hue angle is 221°, with 27% saturation and 49% lightness. For print, the CMYK equivalent is 43% cyan, 30% magenta, 0% yellow and 38% black.

The closest named color is Haunt Mist (#5F6D91), a difference of 3.2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 5:1).

#5A6F9E color codes

HEX#5A6F9E
RGBrgb(90, 111, 158)
RGB percentrgb(35.3%, 43.5%, 62%)
HSLhsl(221, 27%, 49%)
HSV / HSBhsv(221, 43%, 62%)
CMYKcmyk(43%, 30%, 0%, 38%)
CIE LABlab(46.99, 4.98, -27.86)
CIE LCHlch(46.99, 28.3, 280.14)
CIE XYZxyz(16.071, 16.01, 34.585)
Decimal5926814
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A6F9E, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5A6F9ERatioAAAAAAA large
Sample text4.2:1FailFailPass
Sample text5:1PassFailPass
#5A6F9E as text onRatioAAAAAAA large
Sample text5:1PassFailPass
Sample text4.2:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5A6F9E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a6f9e; }
.text { color: #5a6f9e; }
.border { border: 2px solid #5a6f9e; }
.transparent { background-color: rgb(90 111 158 / 50%); }
.gradient { background: linear-gradient(to right, #5a6f9e, #675a9e); }
Background
Text color
Border

Similar colors

Closest common color name: Denim.

Questions

What color is #5A6F9E?
#5A6F9E is a desaturated blue, closest to the named color Haunt Mist. It belongs to the blue family of colors.
What is the RGB value of #5A6F9E?
The RGB value is 90, 111, 158: 90 red, 111 green and 158 blue on a 0 to 255 scale.
What is the complementary color of #5A6F9E?
The complementary color is #9E895A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A6F9E?
White text. Black text has a contrast ratio of 4.2:1 and white text 5:1. WCAG asks for at least 4.5:1 for normal text.