#4E5158#4E5158

#4E5158 is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.5% C 0.012 H 267.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4E5158
RGBrgb(78, 81, 88)
HSLhsl(222, 6%, 33%)
HSVhsv(222, 11%, 35%)
CMYKcmyk(11.4%, 8%, 0%, 65.5%)
CIE-LABlab(34.41, 0.40, -4.51)
CIE-LCHlch(34.41, 4.52, 275.04°)
OKLaboklab(43.47% -0.0006 -0.0121)
OKLCHoklch(43.47% 0.012 267.3)
XYZxyz(7.8454, 8.2091, 10.4018)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5158 #58554E
analogous
#4E5658 #4E5158 #504E58
triadic
#4E5158 #584E51 #51584E
tetradic
#4E5158 #584E56 #58554E #4E5850
square
#4E5158 #584E56 #58554E #4E5850
split-complementary
#4E5158 #58504E #56584E
monochromatic
#141517 #313338 #4E5158 #6B6F78 #8A8E97

Accessibility & contrast

On white

7.95
#4E5158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E5158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5158
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5158#FFFFFF#000000##FFFFFF
##4E51581.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5158
Deuteranopia (green-blind)
#4E5158
Tritanopia (blue-blind)
#4C5253
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5158;
/* rgb */ color: rgb(78, 81, 88);
/* oklch */ color: oklch(43.5% 0.012 267.3);
Tailwind
colors: {
  custom: {
    50: '#7f8187',
    500: '#4e5158',
    950: '#000000',
  },
}
SCSS
$custom: #4e5158;
$custom-light: #7f8187;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5158",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 222,
    "s": 6.024,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.01213,
    "h": 267.3
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#4E5158
secondary
#86837C
accent
#9F79AF
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #4E5158

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

Preview Lab → · Contrast checker → · Palette generator →

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