#4A4852#4A4852

#4A4852 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.7% C 0.017 H 294.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4A4852
RGBrgb(74, 72, 82)
HSLhsl(252, 6%, 30%)
HSVhsv(252, 12%, 32%)
CMYKcmyk(9.8%, 12.2%, 0%, 67.8%)
CIE-LABlab(31.11, 3.10, -5.64)
CIE-LCHlch(31.11, 6.44, 298.79°)
OKLaboklab(40.73% 0.007 -0.0152)
OKLCHoklch(40.73% 0.017 294.8)
XYZxyz(6.6641, 6.6998, 8.9231)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4852 #505248
analogous
#484B52 #4A4852 #4F4852
triadic
#4A4852 #524A48 #48524A
tetradic
#4A4852 #52484B #505248 #48524F
square
#4A4852 #52484B #505248 #48524F
split-complementary
#4A4852 #524F48 #4B5248
monochromatic
#0F0F11 #2D2B31 #4A4852 #676573 #868392

Accessibility & contrast

On white

8.97
#4A4852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A4852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4852
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4852#FFFFFF#000000##FFFFFF
##4A48521.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#49494B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a4852;
/* rgb */ color: rgb(74, 72, 82);
/* oklch */ color: oklch(40.7% 0.017 294.8);
Tailwind
colors: {
  custom: {
    50: '#7c7a82',
    500: '#4a4852',
    950: '#000000',
  },
}
SCSS
$custom: #4a4852;
$custom-light: #7c7a82;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4852",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 82
  },
  "hsl": {
    "h": 252,
    "s": 6.494,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.01672,
    "h": 294.8
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#4A4852
secondary
#7E8075
accent
#B078A5
background
#F7F7F7
surface
#EEEDEE
border
#C9C8C9
text
#09090A
muted
#7B7B7C

Preview Lab

Preview with #4A4852

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

Preview Lab → · Contrast checker → · Palette generator →

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