#585F8B color

#585F8B rgb(88, 95, 139)
Shades of blue

The hex color #585F8B is a grayish blue.

In the RGB color model it is made of 34.5% red, 37.3% green and 54.5% blue (88, 95, 139).

Its hue angle is 232°, with 22% saturation and 45% lightness. For print, the CMYK equivalent is 37% cyan, 32% magenta, 0% yellow and 45% black.

The closest named color is Wizard’s Potion (#5D6098), a difference of 2.8 ΔE, a small difference.

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

#585F8B color codes

HEX#585F8B
RGBrgb(88, 95, 139)
RGB percentrgb(34.5%, 37.3%, 54.5%)
HSLhsl(232, 22%, 45%)
HSV / HSBhsv(232, 37%, 55%)
CMYKcmyk(37%, 32%, 0%, 45%)
CIE LABlab(41.41, 8.67, -25.24)
CIE LCHlch(41.41, 26.68, 288.95)
CIE XYZxyz(12.776, 12.123, 26.088)
Decimal5791627
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #585F8B, 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 #585F8BRatioAAAAAAA large
Sample text3.42:1FailFailPass
Sample text6.13:1PassFailPass
#585F8B as text onRatioAAAAAAA large
Sample text6.13:1PassFailPass
Sample text3.42: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 #585F8B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #585f8b; }
.text { color: #585f8b; }
.border { border: 2px solid #585f8b; }
.transparent { background-color: rgb(88 95 139 / 50%); }
.gradient { background: linear-gradient(to right, #585f8b, #6a588b); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #585F8B?
#585F8B is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
What is the RGB value of #585F8B?
The RGB value is 88, 95, 139: 88 red, 95 green and 139 blue on a 0 to 255 scale.
What is the complementary color of #585F8B?
The complementary color is #8B8458, found by rotating the hue 180° on the color wheel.
Is black or white text better on #585F8B?
White text. Black text has a contrast ratio of 3.42:1 and white text 6.13:1. WCAG asks for at least 4.5:1 for normal text.