#5F646B color
The hex color #5F646B is a gray.
In the RGB color model it is made of 37.3% red, 39.2% green and 42% blue (95, 100, 107).
Its hue angle is 215°, with 6% saturation and 40% lightness. For print, the CMYK equivalent is 11% cyan, 7% magenta, 0% yellow and 58% black.
The closest named color is Gray Web (#616669), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.96:1).
#5F646B color codes
| HEX | #5F646B | |
|---|---|---|
| RGB | rgb(95, 100, 107) | |
| RGB percent | rgb(37.3%, 39.2%, 42%) | |
| HSL | hsl(215, 6%, 40%) | |
| HSV / HSB | hsv(215, 11%, 42%) | |
| CMYK | cmyk(11%, 7%, 0%, 58%) | |
| CIE LAB | lab(42.17, -0.38, -4.61) | |
| CIE LCH | lch(42.17, 4.63, 265.3) | |
| CIE XYZ | xyz(11.93, 12.609, 15.712) | |
| Decimal | 6251627 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F646B, 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 #5F646B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.52:1 | Fail | Fail | Pass |
| Sample text | 5.96:1 | Pass | Fail | Pass |
| #5F646B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.96: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 #5F646B looks to people with the most common types of color vision deficiency.
#62646bProtanopia
no red cones#60636bDeuteranopia
no green cones#5c6566Tritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #5f646b; }
.text { color: #5f646b; }
.border { border: 2px solid #5f646b; }
.transparent { background-color: rgb(95 100 107 / 50%); }
.gradient { background: linear-gradient(to right, #5f646b, #605f6b); }
Similar colors
#616669Gray Web#5a5e61Blindfolded#59656dStreets of London#656874Alley Cat#686d70Beautiful Darkness#5c606eConcrete Landscape#535e64Lava Rock#605e63Cloak Gray
Closest common color name: Dim Gray.
Questions
- What color is #5F646B?
- #5F646B is a gray, closest to the named color Gray Web. It belongs to the gray family of colors.
- What is the RGB value of #5F646B?
- The RGB value is 95, 100, 107: 95 red, 100 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #5F646B?
- The complementary color is #6B665F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F646B?
- White text. Black text has a contrast ratio of 3.52:1 and white text 5.96:1. WCAG asks for at least 4.5:1 for normal text.