#4D474F color

#4D474F rgb(77, 71, 79)
Shades of gray

The hex color #4D474F is a dark gray.

In the RGB color model it is made of 30.2% red, 27.8% green and 31% blue (77, 71, 79).

Its hue angle is 285°, with 5% saturation and 29% lightness. For print, the CMYK equivalent is 3% cyan, 10% magenta, 0% yellow and 69% black.

The closest named color is Gun Powder (#484753), a difference of 3.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 9.01:1).

#4D474F color codes

HEX#4D474F
RGBrgb(77, 71, 79)
RGB percentrgb(30.2%, 27.8%, 31%)
HSLhsl(285, 5%, 29%)
HSV / HSBhsv(285, 10%, 31%)
CMYKcmyk(3%, 10%, 0%, 69%)
CIE LABlab(30.99, 4.24, -3.86)
CIE LCHlch(30.99, 5.74, 317.68)
CIE XYZxyz(6.725, 6.649, 8.325)
Decimal5064527
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4D474F, 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 #4D474FRatioAAAAAAA large
Sample text2.33:1FailFailFail
Sample text9.01:1PassPassPass
#4D474F as text onRatioAAAAAAA large
Sample text9.01:1PassPassPass
Sample text2.33:1FailFailFail

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 #4D474F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4d474f; }
.text { color: #4d474f; }
.border { border: 2px solid #4d474f; }
.transparent { background-color: rgb(77 71 79 / 50%); }
.gradient { background: linear-gradient(to right, #4d474f, #4f474d); }
Background
Text color
Border

Similar colors

Closest common color name: Graphite.

Questions

What color is #4D474F?
#4D474F is a dark gray, closest to the named color Gun Powder. It belongs to the gray family of colors.
What is the RGB value of #4D474F?
The RGB value is 77, 71, 79: 77 red, 71 green and 79 blue on a 0 to 255 scale.
What is the complementary color of #4D474F?
The complementary color is #494F47, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4D474F?
White text. Black text has a contrast ratio of 2.33:1 and white text 9.01:1. WCAG asks for at least 4.5:1 for normal text.