#5B5872 color

#5B5872 rgb(91, 88, 114)
Shades of blue

The hex color #5B5872 is a grayish blue.

In the RGB color model it is made of 35.7% red, 34.5% green and 44.7% blue (91, 88, 114).

Its hue angle is 247°, with 13% saturation and 40% lightness. For print, the CMYK equivalent is 20% cyan, 23% magenta, 0% yellow and 55% black.

The closest named color is Majestic Magic (#555570), a difference of 1.8 ΔE, which is barely visible.

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

#5B5872 color codes

HEX#5B5872
RGBrgb(91, 88, 114)
RGB percentrgb(35.7%, 34.5%, 44.7%)
HSLhsl(247, 13%, 40%)
HSV / HSBhsv(247, 23%, 45%)
CMYKcmyk(20%, 23%, 0%, 55%)
CIE LABlab(38.58, 7.21, -14.33)
CIE LCHlch(38.58, 16.04, 296.7)
CIE XYZxyz(10.841, 10.418, 17.356)
Decimal5986418
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5b5872; }
.text { color: #5b5872; }
.border { border: 2px solid #5b5872; }
.transparent { background-color: rgb(91 88 114 / 50%); }
.gradient { background: linear-gradient(to right, #5b5872, #685872); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #5B5872?
#5B5872 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 #5B5872?
The RGB value is 91, 88, 114: 91 red, 88 green and 114 blue on a 0 to 255 scale.
What is the complementary color of #5B5872?
The complementary color is #6F7258, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B5872?
White text. Black text has a contrast ratio of 3.08:1 and white text 6.81:1. WCAG asks for at least 4.5:1 for normal text.