#5A586E color

#5A586E rgb(90, 88, 110)
Shades of blue

The hex color #5A586E is a grayish blue.

In the RGB color model it is made of 35.3% red, 34.5% green and 43.1% blue (90, 88, 110).

Its hue angle is 245°, with 11% saturation and 39% lightness. For print, the CMYK equivalent is 18% cyan, 20% magenta, 0% yellow and 57% black.

The closest named color is Majestic Magic (#555570), a difference of 2.3 ΔE, a small difference.

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

#5A586E color codes

HEX#5A586E
RGBrgb(90, 88, 110)
RGB percentrgb(35.3%, 34.5%, 43.1%)
HSLhsl(245, 11%, 39%)
HSV / HSBhsv(245, 20%, 43%)
CMYKcmyk(18%, 20%, 0%, 57%)
CIE LABlab(38.34, 5.85, -12.24)
CIE LCHlch(38.34, 13.57, 295.53)
CIE XYZxyz(10.52, 10.279, 16.179)
Decimal5920878
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A586E, 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 #5A586ERatioAAAAAAA large
Sample text3.06:1FailFailPass
Sample text6.87:1PassFailPass
#5A586E as text onRatioAAAAAAA large
Sample text6.87:1PassFailPass
Sample text3.06: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 #5A586E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a586e; }
.text { color: #5a586e; }
.border { border: 2px solid #5a586e; }
.transparent { background-color: rgb(90 88 110 / 50%); }
.gradient { background: linear-gradient(to right, #5a586e, #65586e); }
Background
Text color
Border

Similar colors

Closest common color name: Dim Gray.

Questions

What color is #5A586E?
#5A586E is a grayish blue, closest to the named color Majestic Magic. It belongs to the blue family of colors.
What is the RGB value of #5A586E?
The RGB value is 90, 88, 110: 90 red, 88 green and 110 blue on a 0 to 255 scale.
What is the complementary color of #5A586E?
The complementary color is #6C6E58, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A586E?
White text. Black text has a contrast ratio of 3.06:1 and white text 6.87:1. WCAG asks for at least 4.5:1 for normal text.