#4C4852#4C4852

#4C4852 is a dark, near-neutral grey. Relative luminance 0.068; OKLCH L 40.9% C 0.017 H 303.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4C4852
RGBrgb(76, 72, 82)
HSLhsl(264, 6%, 30%)
HSVhsv(264, 12%, 32%)
CMYKcmyk(7.3%, 12.2%, 0%, 67.8%)
CIE-LABlab(31.30, 3.89, -5.34)
CIE-LCHlch(31.30, 6.61, 306.07°)
OKLaboklab(40.92% 0.0096 -0.0143)
OKLCHoklch(40.92% 0.017 303.7)
XYZxyz(6.8206, 6.7804, 8.9304)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4852 #4E5248
analogous
#484952 #4C4852 #514852
triadic
#4C4852 #524C48 #48524C
tetradic
#4C4852 #524849 #4E5248 #485251
square
#4C4852 #524849 #4E5248 #485251
split-complementary
#4C4852 #525148 #495248
monochromatic
#100F11 #2E2B31 #4C4852 #6A6573 #898392

Accessibility & contrast

On white

8.91
#4C4852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C4852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4852
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4852#FFFFFF#000000##FFFFFF
##4C48521.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4852;
/* rgb */ color: rgb(76, 72, 82);
/* oklch */ color: oklch(40.9% 0.017 303.7);
Tailwind
colors: {
  custom: {
    50: '#7e7b82',
    500: '#4c4852',
    950: '#000000',
  },
}
SCSS
$custom: #4c4852;
$custom-light: #7e7b82;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4852",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 264,
    "s": 6.494,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.01723,
    "h": 303.7
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#4C4852
secondary
#7C8075
accent
#B07899
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#09090A
muted
#7B7B7C

Preview Lab

Preview with #4C4852

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

Preview Lab → · Contrast checker → · Palette generator →

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