#404A4A#404A4A

#404A4A is a dark, near-neutral grey. Relative luminance 0.065; OKLCH L 40.0% C 0.013 H 196.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#404A4A
RGBrgb(64, 74, 74)
HSLhsl(180, 7%, 27%)
HSVhsv(180, 14%, 29%)
CMYKcmyk(13.5%, 0%, 0%, 71%)
CIE-LABlab(30.60, -4.01, -1.36)
CIE-LCHlch(30.60, 4.24, 198.76°)
OKLaboklab(40.02% -0.0124 -0.0037)
OKLCHoklch(40.02% 0.013 196.6)
XYZxyz(5.7989, 6.4818, 7.4228)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A4A #4A4040
analogous
#404A45 #404A4A #40454A
triadic
#404A4A #4A404A #4A4A40
tetradic
#404A4A #45404A #4A4040 #454A40
square
#404A4A #45404A #4A4040 #454A40
split-complementary
#404A4A #4A4045 #4A4540
monochromatic
#0E1010 #242929 #404A4A #5C6B6B #798B8B

Accessibility & contrast

On white

9.14
#404A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#404A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A4A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A4A#FFFFFF#000000##FFFFFF
##404A4A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49494A
Deuteranopia (green-blind)
#47474A
Tritanopia (blue-blind)
#3D4B4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404a4a;
/* rgb */ color: rgb(64, 74, 74);
/* oklch */ color: oklch(40.0% 0.013 196.6);
Tailwind
colors: {
  custom: {
    50: '#757c7c',
    500: '#404a4a',
    950: '#000000',
  },
}
SCSS
$custom: #404a4a;
$custom-light: #757c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#404a4a",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 74
  },
  "hsl": {
    "h": 180,
    "s": 7.246,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.01292,
    "h": 196.6
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#404A4A
secondary
#796D6D
accent
#7777B0
background
#F7F7F7
surface
#EDEEEE
border
#C8C9C9
text
#080909
muted
#7B7B7B

Preview Lab

Preview with #404A4A

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

Preview Lab → · Contrast checker → · Palette generator →

#404A4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva