#5F598F color

#5F598F rgb(95, 89, 143)
Shades of blue

The hex color #5F598F is a grayish blue.

In the RGB color model it is made of 37.3% red, 34.9% green and 56.1% blue (95, 89, 143).

Its hue angle is 247°, with 23% saturation and 45% lightness. For print, the CMYK equivalent is 34% cyan, 38% magenta, 0% yellow and 44% black.

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

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

#5F598F color codes

HEX#5F598F
RGBrgb(95, 89, 143)
RGB percentrgb(37.3%, 34.9%, 56.1%)
HSLhsl(247, 23%, 45%)
HSV / HSBhsv(247, 38%, 56%)
CMYKcmyk(34%, 38%, 0%, 44%)
CIE LABlab(40.51, 15.67, -29.01)
CIE LCHlch(40.51, 32.98, 298.38)
CIE XYZxyz(13.248, 11.56, 27.515)
Decimal6248847
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5f598f; }
.text { color: #5f598f; }
.border { border: 2px solid #5f598f; }
.transparent { background-color: rgb(95 89 143 / 50%); }
.gradient { background: linear-gradient(to right, #5f598f, #7a598f); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

What color is #5F598F?
#5F598F 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 #5F598F?
The RGB value is 95, 89, 143: 95 red, 89 green and 143 blue on a 0 to 255 scale.
What is the complementary color of #5F598F?
The complementary color is #898F59, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F598F?
White text. Black text has a contrast ratio of 3.31:1 and white text 6.34:1. WCAG asks for at least 4.5:1 for normal text.