#5F627B color
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 | |
|---|---|---|
| RGB | rgb(95, 98, 123) | |
| RGB percent | rgb(37.3%, 38.4%, 48.2%) | |
| HSL | hsl(234, 13%, 43%) | |
| HSV / HSB | hsv(234, 23%, 48%) | |
| CMYK | cmyk(23%, 20%, 0%, 52%) | |
| CIE LAB | lab(42.15, 4.71, -14.37) | |
| CIE LCH | lch(42.15, 15.12, 288.14) | |
| CIE XYZ | xyz(12.661, 12.598, 20.5) | |
| Decimal | 6251131 | |
| Short hex | None (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 #5F627B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.52:1 | Fail | Fail | Pass |
| Sample text | 5.97:1 | Pass | Fail | Pass |
| #5F627B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.97:1 | Pass | Fail | Pass |
| Sample text | 3.52:1 | Fail | Fail | Pass |
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.
#5b657cProtanopia
no red cones#5a637aDeuteranopia
no green cones#59666aTritanopia
no blue cones#636363Achromatopsia
no color vision
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); }
Similar colors
#6a6887Heron#6b6c89Dark Prince#5f606eVenus Mist#555570Majestic Magic#5c606eConcrete Landscape#605d6bSmoky#4f566cHeavy Violet#656874Alley Cat
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.