#404641#404641

#404641 is a dark, near-neutral grey. Relative luminance 0.059; OKLCH L 38.7% C 0.011 H 150.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#404641
RGBrgb(64, 70, 65)
HSLhsl(130, 4%, 26%)
HSVhsv(130, 9%, 27%)
CMYKcmyk(8.6%, 0%, 7.1%, 72.5%)
CIE-LABlab(29.04, -3.60, 2.17)
CIE-LCHlch(29.04, 4.20, 148.91°)
OKLaboklab(38.69% -0.01 0.0057)
OKLCHoklch(38.69% 0.011 150.4)
XYZxyz(5.2585, 5.8519, 5.8525)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404641 #464045
analogous
#424640 #404641 #404644
triadic
#404641 #414046 #464140
tetradic
#404641 #404246 #464045 #464440
square
#404641 #404246 #464045 #464440
split-complementary
#404641 #444046 #464042
monochromatic
#0F100F #232623 #404641 #5D665F #7B867C

Accessibility & contrast

On white

9.68
#404641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#404641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404641
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404641#FFFFFF#000000##FFFFFF
##4046411.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464541
Deuteranopia (green-blind)
#454441
Tritanopia (blue-blind)
#3F4644
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404641;
/* rgb */ color: rgb(64, 70, 65);
/* oklch */ color: oklch(38.7% 0.011 150.4);
Tailwind
colors: {
  custom: {
    50: '#747975',
    500: '#404641',
    950: '#000000',
  },
}
SCSS
$custom: #404641;
$custom-light: #747975;
$custom-dark: #000000;
JSON
{
  "hex": "#404641",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 65
  },
  "hsl": {
    "h": 130,
    "s": 4.478,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.01148,
    "h": 150.4
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#404641
secondary
#746D73
accent
#7AA5AE
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080908
muted
#7B7B7B

Preview Lab

Preview with #404641

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

Preview Lab → · Contrast checker → · Palette generator →

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