#5B628E color

#5B628E rgb(91, 98, 142)
Shades of blue

The hex color #5B628E is a grayish blue.

In the RGB color model it is made of 35.7% red, 38.4% green and 55.7% blue (91, 98, 142).

Its hue angle is 232°, with 22% saturation and 46% lightness. For print, the CMYK equivalent is 36% cyan, 31% magenta, 0% yellow and 44% black.

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

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

#5B628E color codes

HEX#5B628E
RGBrgb(91, 98, 142)
RGB percentrgb(35.7%, 38.4%, 55.7%)
HSLhsl(232, 22%, 46%)
HSV / HSBhsv(232, 36%, 56%)
CMYKcmyk(36%, 31%, 0%, 44%)
CIE LABlab(42.63, 8.57, -25.13)
CIE LCHlch(42.63, 26.55, 288.83)
CIE XYZxyz(13.563, 12.912, 27.364)
Decimal5989006
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B628E, 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 #5B628ERatioAAAAAAA large
Sample text3.58:1FailFailPass
Sample text5.86:1PassFailPass
#5B628E as text onRatioAAAAAAA large
Sample text5.86:1PassFailPass
Sample text3.58: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 #5B628E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b628e; }
.text { color: #5b628e; }
.border { border: 2px solid #5b628e; }
.transparent { background-color: rgb(91 98 142 / 50%); }
.gradient { background: linear-gradient(to right, #5b628e, #6d5b8e); }
Background
Text color
Border

Similar colors

Closest common color name: Royal Purple.

Questions

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