#5F617F color
The hex color #5F617F is a grayish blue.
In the RGB color model it is made of 37.3% red, 38% green and 49.8% blue (95, 97, 127).
Its hue angle is 236°, with 14% saturation and 44% lightness. For print, the CMYK equivalent is 25% cyan, 24% magenta, 0% yellow and 50% black.
The closest named color is Heron (#6A6887), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6:1).
#5F617F color codes
| HEX | #5F617F | |
|---|---|---|
| RGB | rgb(95, 97, 127) | |
| RGB percent | rgb(37.3%, 38%, 49.8%) | |
| HSL | hsl(236, 14%, 44%) | |
| HSV / HSB | hsv(236, 25%, 50%) | |
| CMYK | cmyk(25%, 24%, 0%, 50%) | |
| CIE LAB | lab(42.02, 6.35, -16.99) | |
| CIE LCH | lch(42.02, 18.14, 290.5) | |
| CIE XYZ | xyz(12.824, 12.514, 21.814) | |
| Decimal | 6250879 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F617F, 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 #5F617F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.5:1 | Fail | Fail | Pass |
| Sample text | 6:1 | Pass | Fail | Pass |
| #5F617F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6:1 | Pass | Fail | Pass |
| Sample text | 3.5: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 #5F617F looks to people with the most common types of color vision deficiency.
#596480Protanopia
no red cones#58627eDeuteranopia
no green cones#58666bTritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #5f617f; }
.text { color: #5f617f; }
.border { border: 2px solid #5f617f; }
.transparent { background-color: rgb(95 97 127 / 50%); }
.gradient { background: linear-gradient(to right, #5f617f, #6d5f7f); }
Similar colors
#6a6887Heron#6b6c89Dark Prince#555570Majestic Magic#4c567aDeep Indigo#4f566cHeavy Violet#4d516cIntergalactic#5f6d91Haunt Mist#675a75Plummy
Closest common color name: Space Gray.
Questions
- What color is #5F617F?
- #5F617F is a grayish blue, closest to the named color Heron. It belongs to the blue family of colors.
- What is the RGB value of #5F617F?
- The RGB value is 95, 97, 127: 95 red, 97 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #5F617F?
- The complementary color is #7F7D5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F617F?
- White text. Black text has a contrast ratio of 3.5:1 and white text 6:1. WCAG asks for at least 4.5:1 for normal text.