#4F5154 color
The hex color #4F5154 is a gray.
In the RGB color model it is made of 31% red, 31.8% green and 32.9% blue (79, 81, 84).
Its hue angle is 216°, with 3% saturation and 32% lightness. For print, the CMYK equivalent is 6% cyan, 4% magenta, 0% yellow and 67% black.
The closest named color is Stone Cold (#555555), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.96:1).
#4F5154 color codes
| HEX | #4F5154 | |
|---|---|---|
| RGB | rgb(79, 81, 84) | |
| RGB percent | rgb(31%, 31.8%, 32.9%) | |
| HSL | hsl(216, 3%, 32%) | |
| HSV / HSB | hsv(216, 6%, 33%) | |
| CMYK | cmyk(6%, 4%, 0%, 67%) | |
| CIE LAB | lab(34.37, -0.14, -2.04) | |
| CIE LCH | lch(34.37, 2.04, 266.12) | |
| CIE XYZ | xyz(7.767, 8.187, 9.557) | |
| Decimal | 5198164 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4F5154, 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 #4F5154 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.96:1 | Pass | Pass | Pass |
| #4F5154 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.96:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #4F5154 looks to people with the most common types of color vision deficiency.
#505154Protanopia
no red cones#505154Deuteranopia
no green cones#4e5252Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #4f5154; }
.text { color: #4f5154; }
.border { border: 2px solid #4f5154; }
.transparent { background-color: rgb(79 81 84 / 50%); }
.gradient { background: linear-gradient(to right, #4f5154, #504f54); }
Similar colors
#555555Stone Cold#474c50Witchcraft#525054Magnet#474d52Sooty Lashes#4c4b4cShady Character#4c5356Trout#494e4fCover of Night#46494eTuna
Closest common color name: Charcoal.
Questions
- What color is #4F5154?
- #4F5154 is a gray, closest to the named color Stone Cold. It belongs to the gray family of colors.
- What is the RGB value of #4F5154?
- The RGB value is 79, 81, 84: 79 red, 81 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #4F5154?
- The complementary color is #54524F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4F5154?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.96:1. WCAG asks for at least 4.5:1 for normal text.