#4F5255 color
The hex color #4F5255 is a gray.
In the RGB color model it is made of 31% red, 32.2% green and 33.3% blue (79, 82, 85).
Its hue angle is 210°, with 4% saturation and 32% lightness. For print, the CMYK equivalent is 7% cyan, 4% magenta, 0% yellow and 67% black.
The closest named color is Trout (#4C5356), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.86:1).
#4F5255 color codes
| HEX | #4F5255 | |
|---|---|---|
| RGB | rgb(79, 82, 85) | |
| RGB percent | rgb(31%, 32.2%, 33.3%) | |
| HSL | hsl(210, 4%, 32%) | |
| HSV / HSB | hsv(210, 7%, 33%) | |
| CMYK | cmyk(7%, 4%, 0%, 67%) | |
| CIE LAB | lab(34.71, -0.53, -2.17) | |
| CIE LCH | lch(34.71, 2.24, 256.23) | |
| CIE XYZ | xyz(7.881, 8.353, 9.79) | |
| Decimal | 5198421 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4F5255, 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 #4F5255 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.86:1 | Pass | Pass | Pass |
| #4F5255 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.86:1 | Pass | Pass | Pass |
| Sample text | 2.67:1 | Fail | Fail | Fail |
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 #4F5255 looks to people with the most common types of color vision deficiency.
#515255Protanopia
no red cones#505155Deuteranopia
no green cones#4e5353Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #4f5255; }
.text { color: #4f5255; }
.border { border: 2px solid #4f5255; }
.transparent { background-color: rgb(79 82 85 / 50%); }
.gradient { background: linear-gradient(to right, #4f5255, #4f4f55); }
Similar colors
#4c5356Trout#474c50Witchcraft#555555Stone Cold#494e4fCover of Night#474d52Sooty Lashes#4c4b4cShady Character#525054Magnet#46494eTuna
Closest common color name: Charcoal.
Questions
- What color is #4F5255?
- #4F5255 is a gray, closest to the named color Trout. It belongs to the gray family of colors.
- What is the RGB value of #4F5255?
- The RGB value is 79, 82, 85: 79 red, 82 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #4F5255?
- The complementary color is #55524F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4F5255?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.86:1. WCAG asks for at least 4.5:1 for normal text.