#4E5254#4E5254

#4E5254 is a dark, near-neutral grey. Relative luminance 0.083; OKLCH L 43.6% C 0.006 H 229.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E5254
RGBrgb(78, 82, 84)
HSLhsl(200, 4%, 32%)
HSVhsv(200, 7%, 33%)
CMYKcmyk(7.1%, 2.4%, 0%, 67.1%)
CIE-LABlab(34.59, -1.15, -1.73)
CIE-LCHlch(34.59, 2.08, 236.26°)
OKLaboklab(43.57% -0.004 -0.0046)
OKLCHoklch(43.57% 0.006 229)
XYZxyz(7.7591, 8.2943, 9.5780)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5254 #54504E
analogous
#4E5453 #4E5254 #4E4F54
triadic
#4E5254 #544E52 #52544E
tetradic
#4E5254 #534E54 #54504E #4F544E
square
#4E5254 #534E54 #54504E #4F544E
split-complementary
#4E5254 #544E4F #54534E
monochromatic
#131415 #313334 #4E5254 #6B7174 #8A9092

Accessibility & contrast

On white

7.90
#4E5254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E5254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5254
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5254#FFFFFF#000000##FFFFFF
##4E52541.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515254
Deuteranopia (green-blind)
#505154
Tritanopia (blue-blind)
#4D5353
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5254;
/* rgb */ color: rgb(78, 82, 84);
/* oklch */ color: oklch(43.6% 0.006 229.0);
Tailwind
colors: {
  custom: {
    50: '#7f8284',
    500: '#4e5254',
    950: '#000000',
  },
}
SCSS
$custom: #4e5254;
$custom-light: #7f8284;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5254",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 84
  },
  "hsl": {
    "h": 200,
    "s": 3.704,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.00614,
    "h": 229
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#4E5254
secondary
#827E7C
accent
#8C7BAD
background
#F7F7F8
surface
#EEEEEF
border
#C9C9CA
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E5254

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

Preview Lab → · Contrast checker → · Palette generator →

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