#4E4852#4E4852

#4E4852 is a dark, near-neutral grey. Relative luminance 0.069; OKLCH L 41.1% C 0.018 H 312.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E4852
RGBrgb(78, 72, 82)
HSLhsl(276, 6%, 30%)
HSVhsv(276, 12%, 32%)
CMYKcmyk(4.9%, 12.2%, 0%, 67.8%)
CIE-LABlab(31.49, 4.69, -5.03)
CIE-LCHlch(31.49, 6.88, 312.95°)
OKLaboklab(41.12% 0.0121 -0.0135)
OKLCHoklch(41.12% 0.018 312)
XYZxyz(6.9820, 6.8637, 8.9380)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4852 #4C5248
analogous
#494852 #4E4852 #524851
triadic
#4E4852 #524E48 #48524E
tetradic
#4E4852 #524948 #4C5248 #485152
square
#4E4852 #524948 #4C5248 #485152
split-complementary
#4E4852 #515248 #485249
monochromatic
#100F11 #2F2B31 #4E4852 #6D6573 #8C8392

Accessibility & contrast

On white

8.85
#4E4852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4852
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4852#FFFFFF#000000##FFFFFF
##4E48521.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#4E494B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4852;
/* rgb */ color: rgb(78, 72, 82);
/* oklch */ color: oklch(41.1% 0.018 312.0);
Tailwind
colors: {
  custom: {
    50: '#7f7b82',
    500: '#4e4852',
    950: '#000000',
  },
}
SCSS
$custom: #4e4852;
$custom-light: #7f7b82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4852",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 276,
    "s": 6.494,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.01813,
    "h": 312
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#4E4852
secondary
#7A8075
accent
#B0788E
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#0A090A
muted
#7C7B7C

Preview Lab

Preview with #4E4852

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

Preview Lab → · Contrast checker → · Palette generator →

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