#4E5157#4E5157

#4E5157 is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.4% C 0.011 H 264.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E5157
RGBrgb(78, 81, 87)
HSLhsl(220, 5%, 32%)
HSVhsv(220, 10%, 34%)
CMYKcmyk(10.3%, 6.9%, 0%, 65.9%)
CIE-LABlab(34.38, 0.16, -3.93)
CIE-LCHlch(34.38, 3.93, 272.37°)
OKLaboklab(43.44% -0.001 -0.0105)
OKLCHoklch(43.44% 0.011 264.5)
XYZxyz(7.8043, 8.1926, 10.1851)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5157 #57544E
analogous
#4E5657 #4E5157 #4F4E57
triadic
#4E5157 #574E51 #51574E
tetradic
#4E5157 #574E56 #57544E #4E574F
square
#4E5157 #574E56 #57544E #4E574F
split-complementary
#4E5157 #574F4E #56574E
monochromatic
#141516 #313337 #4E5157 #6B6F77 #8A8E96

Accessibility & contrast

On white

7.96
#4E5157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5157
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5157#FFFFFF#000000##FFFFFF
##4E51571.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5157;
/* rgb */ color: rgb(78, 81, 87);
/* oklch */ color: oklch(43.4% 0.011 264.5);
Tailwind
colors: {
  custom: {
    50: '#7f8186',
    500: '#4e5157',
    950: '#000000',
  },
}
SCSS
$custom: #4e5157;
$custom-light: #7f8186;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5157",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 220,
    "s": 5.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.01059,
    "h": 264.5
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#4E5157
secondary
#85827C
accent
#9D79AF
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #4E5157

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

Preview Lab → · Contrast checker → · Palette generator →

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