#404841#404841

#404841 is a dark, near-neutral grey. Relative luminance 0.061; OKLCH L 39.2% C 0.016 H 148.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#404841
RGBrgb(64, 72, 65)
HSLhsl(128, 6%, 27%)
HSVhsv(128, 11%, 28%)
CMYKcmyk(11.1%, 0%, 9.7%, 71.8%)
CIE-LABlab(29.68, -4.85, 3.10)
CIE-LCHlch(29.68, 5.75, 147.43°)
OKLaboklab(39.2% -0.0134 0.0081)
OKLCHoklch(39.2% 0.016 148.9)
XYZxyz(5.3857, 6.1063, 5.8949)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404841 #484047
analogous
#434840 #404841 #404845
triadic
#404841 #414048 #484140
tetradic
#404841 #404348 #484047 #484540
square
#404841 #404348 #484047 #484540
split-complementary
#404841 #454048 #484043
monochromatic
#0E100F #232824 #404841 #5D685E #7A897C

Accessibility & contrast

On white

9.45
#404841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#404841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404841
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404841#FFFFFF#000000##FFFFFF
##4048411.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484641
Deuteranopia (green-blind)
#474641
Tritanopia (blue-blind)
#3F4846
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #404841;
/* rgb */ color: rgb(64, 72, 65);
/* oklch */ color: oklch(39.2% 0.016 148.9);
Tailwind
colors: {
  custom: {
    50: '#747b75',
    500: '#404841',
    950: '#000000',
  },
}
SCSS
$custom: #404841;
$custom-light: #747b75;
$custom-dark: #000000;
JSON
{
  "hex": "#404841",
  "rgb": {
    "r": 64,
    "g": 72,
    "b": 65
  },
  "hsl": {
    "h": 127.5,
    "s": 5.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.392,
    "c": 0.01563,
    "h": 148.9
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#404841
secondary
#776D75
accent
#79A8AF
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080908
muted
#7B7B7B

Preview Lab

Preview with #404841

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

Preview Lab → · Contrast checker → · Palette generator →

#404841 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva