#4E4F52#4E4F52

#4E4F52 is a dark, near-neutral grey. Relative luminance 0.078; OKLCH L 42.8% C 0.005 H 271.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4F52
RGBrgb(78, 79, 82)
HSLhsl(225, 3%, 31%)
HSVhsv(225, 5%, 32%)
CMYKcmyk(4.9%, 3.7%, 0%, 67.8%)
CIE-LABlab(33.61, 0.26, -1.91)
CIE-LCHlch(33.61, 1.92, 277.77°)
OKLaboklab(42.77% 0.0001 -0.0051)
OKLCHoklch(42.77% 0.005 271.4)
XYZxyz(7.4606, 7.8208, 9.0975)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F52 #52514E
analogous
#4E5152 #4E4F52 #4F4E52
triadic
#4E4F52 #524E4F #4F524E
tetradic
#4E4F52 #524E51 #52514E #4E524F
square
#4E4F52 #524E51 #52514E #4E524F
split-complementary
#4E4F52 #524F4E #51524E
monochromatic
#121313 #303133 #4E4F52 #6C6D71 #8A8C90

Accessibility & contrast

On white

8.19
#4E4F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F52
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F52#FFFFFF#000000##FFFFFF
##4E4F521.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#4E4F52
Tritanopia (blue-blind)
#4D5050
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4f52;
/* rgb */ color: rgb(78, 79, 82);
/* oklch */ color: oklch(42.8% 0.005 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f8082',
    500: '#4e4f52',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f52;
$custom-light: #7f8082;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f52",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 82
  },
  "hsl": {
    "h": 225,
    "s": 2.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.00508,
    "h": 271.4
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#4E4F52
secondary
#807F7C
accent
#A07CAC
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A0A0A
muted
#7C7C7C

Preview Lab

Preview with #4E4F52

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

Preview Lab → · Contrast checker → · Palette generator →

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