#5F5966 color
The hex color #5F5966 is a gray.
In the RGB color model it is made of 37.3% red, 34.9% green and 40% blue (95, 89, 102).
Its hue angle is 268°, with 7% saturation and 37% lightness. For print, the CMYK equivalent is 7% cyan, 13% magenta, 0% yellow and 60% black.
The closest named color is Smoky (#605D6B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.76:1).
#5F5966 color codes
| HEX | #5F5966 | |
|---|---|---|
| RGB | rgb(95, 89, 102) | |
| RGB percent | rgb(37.3%, 34.9%, 40%) | |
| HSL | hsl(268, 7%, 37%) | |
| HSV / HSB | hsv(268, 13%, 40%) | |
| CMYK | cmyk(7%, 13%, 0%, 60%) | |
| CIE LAB | lab(38.79, 5.19, -6.57) | |
| CIE LCH | lch(38.79, 8.37, 308.28) | |
| CIE XYZ | xyz(10.69, 10.537, 14.038) | |
| Decimal | 6248806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5966, 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 #5F5966 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.11:1 | Fail | Fail | Pass |
| Sample text | 6.76:1 | Pass | Fail | Pass |
| #5F5966 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.76:1 | Pass | Fail | Pass |
| Sample text | 3.11: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 #5F5966 looks to people with the most common types of color vision deficiency.
#575b67Protanopia
no red cones#585b66Deuteranopia
no green cones#5e5b5dTritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f5966; }
.text { color: #5f5966; }
.border { border: 2px solid #5f5966; }
.transparent { background-color: rgb(95 89 102 / 50%); }
.gradient { background: linear-gradient(to right, #5f5966, #665966); }
Similar colors
#605d6bSmoky#625665Fedora#635d63Wonder Wine#565266Freefall#5f606eVenus Mist#676168Excalibur#545663Blackwater#525463Black Orchid
Closest common color name: Dim Gray.
Questions
- What color is #5F5966?
- #5F5966 is a gray, closest to the named color Smoky. It belongs to the gray family of colors.
- What is the RGB value of #5F5966?
- The RGB value is 95, 89, 102: 95 red, 89 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5F5966?
- The complementary color is #606659, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5966?
- White text. Black text has a contrast ratio of 3.11:1 and white text 6.76:1. WCAG asks for at least 4.5:1 for normal text.