#5F5B6A color
The hex color #5F5B6A is a gray.
In the RGB color model it is made of 37.3% red, 35.7% green and 41.6% blue (95, 91, 106).
Its hue angle is 256°, with 8% saturation and 39% lightness. For print, the CMYK equivalent is 10% cyan, 14% magenta, 0% yellow and 58% black.
The closest named color is Smoky (#605D6B), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.58:1).
#5F5B6A color codes
| HEX | #5F5B6A | |
|---|---|---|
| RGB | rgb(95, 91, 106) | |
| RGB percent | rgb(37.3%, 35.7%, 41.6%) | |
| HSL | hsl(256, 8%, 39%) | |
| HSV / HSB | hsv(256, 14%, 42%) | |
| CMYK | cmyk(10%, 14%, 0%, 58%) | |
| CIE LAB | lab(39.51, 4.87, -7.97) | |
| CIE LCH | lch(39.51, 9.34, 301.4) | |
| CIE XYZ | xyz(11.061, 10.956, 15.165) | |
| Decimal | 6249322 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5B6A, 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 #5F5B6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.19:1 | Fail | Fail | Pass |
| Sample text | 6.58:1 | Pass | Fail | Pass |
| #5F5B6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.58:1 | Pass | Fail | Pass |
| Sample text | 3.19: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 #5F5B6A looks to people with the most common types of color vision deficiency.
#585d6bProtanopia
no red cones#595d6aDeuteranopia
no green cones#5d5d60Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #5f5b6a; }
.text { color: #5f5b6a; }
.border { border: 2px solid #5f5b6a; }
.transparent { background-color: rgb(95 91 106 / 50%); }
.gradient { background: linear-gradient(to right, #5f5b6a, #675b6a); }
Similar colors
#605d6bSmoky#5f606eVenus Mist#565266Freefall#625665Fedora#545663Blackwater#525463Black Orchid#635d63Wonder Wine#676168Excalibur
Closest common color name: Dim Gray.
Questions
- What color is #5F5B6A?
- #5F5B6A is a gray, closest to the named color Smoky. It belongs to the gray family of colors.
- What is the RGB value of #5F5B6A?
- The RGB value is 95, 91, 106: 95 red, 91 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5F5B6A?
- The complementary color is #666A5B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5B6A?
- White text. Black text has a contrast ratio of 3.19:1 and white text 6.58:1. WCAG asks for at least 4.5:1 for normal text.