#4E5257#4E5257

#4E5257 is a dark, near-neutral grey. Relative luminance 0.083; OKLCH L 43.7% C 0.010 H 253.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E5257
RGBrgb(78, 82, 87)
HSLhsl(213, 5%, 32%)
HSVhsv(213, 10%, 34%)
CMYKcmyk(10.3%, 5.7%, 0%, 65.9%)
CIE-LABlab(34.69, -0.46, -3.47)
CIE-LCHlch(34.69, 3.50, 262.45°)
OKLaboklab(43.68% -0.0027 -0.0093)
OKLCHoklch(43.68% 0.01 253.9)
XYZxyz(7.8791, 8.3423, 10.2101)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5257 #57534E
analogous
#4E5757 #4E5257 #4E4E57
triadic
#4E5257 #574E52 #52574E
tetradic
#4E5257 #574E57 #57534E #4E574E
square
#4E5257 #574E57 #57534E #4E574E
split-complementary
#4E5257 #574E4E #57574E
monochromatic
#141516 #313437 #4E5257 #6B7077 #8A8F96

Accessibility & contrast

On white

7.87
#4E5257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E5257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5257
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5257#FFFFFF#000000##FFFFFF
##4E52571.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505257
Deuteranopia (green-blind)
#4F5157
Tritanopia (blue-blind)
#4C5354
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5257;
/* rgb */ color: rgb(78, 82, 87);
/* oklch */ color: oklch(43.7% 0.010 253.9);
Tailwind
colors: {
  custom: {
    50: '#7f8286',
    500: '#4e5257',
    950: '#000000',
  },
}
SCSS
$custom: #4e5257;
$custom-light: #7f8286;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5257",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 213.333,
    "s": 5.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.00971,
    "h": 253.9
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#4E5257
secondary
#85817C
accent
#9779AF
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #4E5257

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

Preview Lab → · Contrast checker → · Palette generator →

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