#4E4E51#4E4E51

#4E4E51 is a dark, near-neutral grey. Relative luminance 0.077; OKLCH L 42.5% C 0.005 H 286.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4E4E51
RGBrgb(78, 78, 81)
HSLhsl(240, 2%, 31%)
HSVhsv(240, 4%, 32%)
CMYKcmyk(3.7%, 3.7%, 0%, 68.2%)
CIE-LABlab(33.27, 0.66, -1.77)
CIE-LCHlch(33.27, 1.89, 290.51°)
OKLaboklab(42.5% 0.0014 -0.0047)
OKLCHoklch(42.5% 0.005 286.3)
XYZxyz(7.3512, 7.6625, 8.8747)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E51 #51514E
analogous
#4E4F51 #4E4E51 #4F4E51
triadic
#4E4E51 #514E4E #4E514E
tetradic
#4E4E51 #514E4F #51514E #4E514F
square
#4E4E51 #514E4F #51514E #4E514F
split-complementary
#4E4E51 #514F4E #4F514E
monochromatic
#121213 #303032 #4E4E51 #6C6C70 #8B8B8F

Accessibility & contrast

On white

8.29
#4E4E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E51
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E51#FFFFFF#000000##FFFFFF
##4E4E511.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#4D4E51
Tritanopia (blue-blind)
#4D4E4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4e51;
/* rgb */ color: rgb(78, 78, 81);
/* oklch */ color: oklch(42.5% 0.005 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f81',
    500: '#4e4e51',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e51;
$custom-light: #7f7f81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e51",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 81
  },
  "hsl": {
    "h": 240,
    "s": 1.887,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.0049,
    "h": 286.3
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#4E4E51
secondary
#7F7F7C
accent
#AB7DAB
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E4E51

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

Preview Lab → · Contrast checker → · Palette generator →

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