#4E5258#4E5258

#4E5258 is a dark, near-neutral grey. Relative luminance 0.084; OKLCH L 43.7% C 0.011 H 258.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E5258
RGBrgb(78, 82, 88)
HSLhsl(216, 6%, 33%)
HSVhsv(216, 11%, 35%)
CMYKcmyk(11.4%, 6.8%, 0%, 65.5%)
CIE-LABlab(34.72, -0.23, -4.05)
CIE-LCHlch(34.72, 4.06, 266.81°)
OKLaboklab(43.71% -0.0022 -0.0109)
OKLCHoklch(43.71% 0.011 258.4)
XYZxyz(7.9202, 8.3588, 10.4268)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5258 #58544E
analogous
#4E5758 #4E5258 #4F4E58
triadic
#4E5258 #584E52 #52584E
tetradic
#4E5258 #584E57 #58544E #4E584F
square
#4E5258 #584E57 #58544E #4E584F
split-complementary
#4E5258 #584F4E #57584E
monochromatic
#141617 #313438 #4E5258 #6B7078 #8A8F97

Accessibility & contrast

On white

7.86
#4E5258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5258
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5258#FFFFFF#000000##FFFFFF
##4E52581.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5258;
/* rgb */ color: rgb(78, 82, 88);
/* oklch */ color: oklch(43.7% 0.011 258.4);
Tailwind
colors: {
  custom: {
    50: '#7f8287',
    500: '#4e5258',
    950: '#000000',
  },
}
SCSS
$custom: #4e5258;
$custom-light: #7f8287;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5258",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 216,
    "s": 6.024,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.01113,
    "h": 258.4
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#4E5258
secondary
#86827C
accent
#9979AF
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #4E5258

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

Preview Lab → · Contrast checker → · Palette generator →

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