#5F627B color

#5F627B rgb(95, 98, 123)
Shades of blue

The hex color #5F627B is a grayish blue.

In the RGB color model it is made of 37.3% red, 38.4% green and 48.2% blue (95, 98, 123).

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

The closest named color is Heron (#6A6887), a difference of 4.2 ΔE, a small difference.

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

#5F627B color codes

HEX#5F627B
RGBrgb(95, 98, 123)
RGB percentrgb(37.3%, 38.4%, 48.2%)
HSLhsl(234, 13%, 43%)
HSV / HSBhsv(234, 23%, 48%)
CMYKcmyk(23%, 20%, 0%, 52%)
CIE LABlab(42.15, 4.71, -14.37)
CIE LCHlch(42.15, 15.12, 288.14)
CIE XYZxyz(12.661, 12.598, 20.5)
Decimal6251131
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

What color is #5F627B?
#5F627B is a grayish blue, closest to the named color Heron. It belongs to the blue family of colors.
What is the RGB value of #5F627B?
The RGB value is 95, 98, 123: 95 red, 98 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #5F627B?
The complementary color is #7B785F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5F627B?
White text. Black text has a contrast ratio of 3.52:1 and white text 5.97:1. WCAG asks for at least 4.5:1 for normal text.