#5F6064 color
The hex color #5F6064 is a gray.
In the RGB color model it is made of 37.3% red, 37.6% green and 39.2% blue (95, 96, 100).
Its hue angle is 228°, with 3% saturation and 38% lightness. For print, the CMYK equivalent is 5% cyan, 4% magenta, 0% yellow and 61% black.
The closest named color is Cloak Gray (#605E63), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.28:1).
#5F6064 color codes
| HEX | #5F6064 | |
|---|---|---|
| RGB | rgb(95, 96, 100) | |
| RGB percent | rgb(37.3%, 37.6%, 39.2%) | |
| HSL | hsl(228, 3%, 38%) | |
| HSV / HSB | hsv(228, 5%, 39%) | |
| CMYK | cmyk(5%, 4%, 0%, 61%) | |
| CIE LAB | lab(40.77, 0.47, -2.41) | |
| CIE LCH | lch(40.77, 2.46, 280.94) | |
| CIE XYZ | xyz(11.202, 11.719, 13.726) | |
| Decimal | 6250596 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6064, 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 #5F6064 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.28:1 | Pass | Fail | Pass |
| #5F6064 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.28:1 | Pass | Fail | Pass |
| Sample text | 3.34: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 #5F6064 looks to people with the most common types of color vision deficiency.
#5f6064Protanopia
no red cones#5f6064Deuteranopia
no green cones#5e6161Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6064; }
.text { color: #5f6064; }
.border { border: 2px solid #5f6064; }
.transparent { background-color: rgb(95 96 100 / 50%); }
.gradient { background: linear-gradient(to right, #5f6064, #615f64); }
Similar colors
#605e63Cloak Gray#5a5e61Blindfolded#5e5e5eIron#5c5d5dKnight’s Armour#616669Gray Web#696969Dim Gray#635d63Wonder Wine#676168Excalibur
Questions
- What color is #5F6064?
- #5F6064 is a gray, closest to the named color Cloak Gray. It belongs to the gray family of colors.
- What is the RGB value of #5F6064?
- The RGB value is 95, 96, 100: 95 red, 96 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #5F6064?
- The complementary color is #64635F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6064?
- White text. Black text has a contrast ratio of 3.34:1 and white text 6.28:1. WCAG asks for at least 4.5:1 for normal text.