#403E41#403E41

#403E41 is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.7% C 0.006 H 314.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#403E41
RGBrgb(64, 62, 65)
HSLhsl(280, 2%, 25%)
HSVhsv(280, 5%, 25%)
CMYKcmyk(1.5%, 4.6%, 0%, 74.5%)
CIE-LABlab(26.50, 1.52, -1.53)
CIE-LCHlch(26.50, 2.16, 314.84°)
OKLaboklab(36.69% 0.004 -0.0041)
OKLCHoklch(36.69% 0.006 314.8)
XYZxyz(4.7910, 4.9169, 5.6967)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E41 #3F413E
analogous
#3F3E41 #403E41 #413E41
triadic
#403E41 #41403E #3E4140
tetradic
#403E41 #413F3E #3F413E #3E4141
square
#403E41 #413F3E #3F413E #3E4141
split-complementary
#403E41 #41413E #3E413F
monochromatic
#0F0F10 #212022 #403E41 #5F5C60 #7E7A80

Accessibility & contrast

On white

10.59
#403E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#403E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E41
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E41#FFFFFF#000000##FFFFFF
##403E411.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#3E3F41
Tritanopia (blue-blind)
#403E3F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403e41;
/* rgb */ color: rgb(64, 62, 65);
/* oklch */ color: oklch(36.7% 0.006 314.8);
Tailwind
colors: {
  custom: {
    50: '#747375',
    500: '#403e41',
    950: '#000000',
  },
}
SCSS
$custom: #403e41;
$custom-light: #747375;
$custom-dark: #000000;
JSON
{
  "hex": "#403e41",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 65
  },
  "hsl": {
    "h": 280,
    "s": 2.362,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36692,
    "c": 0.00572,
    "h": 314.8
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#403E41
secondary
#6D6F6C
accent
#AC7C8C
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403E41

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

Preview Lab → · Contrast checker → · Palette generator →

#403E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva