#4D474F#4D474F

#4D474F is a dark, near-neutral grey. Relative luminance 0.066; OKLCH L 40.7% C 0.015 H 317.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4D474F
RGBrgb(77, 71, 79)
HSLhsl(285, 5%, 29%)
HSVhsv(285, 10%, 31%)
CMYKcmyk(2.5%, 10.1%, 0%, 69%)
CIE-LABlab(30.99, 4.24, -3.86)
CIE-LCHlch(30.99, 5.74, 317.69°)
OKLaboklab(40.67% 0.0113 -0.0103)
OKLCHoklch(40.67% 0.015 317.7)
XYZxyz(6.7249, 6.6488, 8.3247)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D474F #494F47
analogous
#49474F #4D474F #4F474D
triadic
#4D474F #4F4D47 #474F4D
tetradic
#4D474F #4F4947 #494F47 #474D4F
square
#4D474F #4F4947 #494F47 #474D4F
split-complementary
#4D474F #4D4F47 #474F49
monochromatic
#100E10 #2E2A2F #4D474F #6C646F #8B828F

Accessibility & contrast

On white

9.01
#4D474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D474F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D474F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D474F#FFFFFF#000000##FFFFFF
##4D474F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46494F
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#4D484A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d474f;
/* rgb */ color: rgb(77, 71, 79);
/* oklch */ color: oklch(40.7% 0.015 317.7);
Tailwind
colors: {
  custom: {
    50: '#7e7a80',
    500: '#4d474f',
    950: '#000000',
  },
}
SCSS
$custom: #4d474f;
$custom-light: #7e7a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4d474f",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 285,
    "s": 5.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.01529,
    "h": 317.7
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#4D474F
secondary
#777D74
accent
#AE7987
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4D474F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4D474F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva