#403E3E#403E3E

#403E3E is a dark, near-neutral grey. Relative luminance 0.049; OKLCH L 36.6% C 0.003 H 17.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#403E3E
RGBrgb(64, 62, 62)
HSLhsl(0, 2%, 25%)
HSVhsv(0, 3%, 25%)
CMYKcmyk(0%, 3.1%, 3.1%, 74.9%)
CIE-LABlab(26.40, 0.85, 0.30)
CIE-LCHlch(26.40, 0.90, 19.57°)
OKLaboklab(36.58% 0.0026 0.0008)
OKLCHoklch(36.58% 0.003 17.2)
XYZxyz(4.7064, 4.8831, 5.2511)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E3E #3E4040
analogous
#403E3F #403E3E #403F3E
triadic
#403E3E #3E403E #3E3E40
tetradic
#403E3E #3F403E #3E4040 #3F3E40
square
#403E3E #3F403E #3E4040 #3F3E40
split-complementary
#403E3E #3E403F #3E3F40
monochromatic
#100F0F #212020 #403E3E #5F5C5C #7E7A7A

Accessibility & contrast

On white

10.62
#403E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E3E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E3E#FFFFFF#000000##FFFFFF
##403E3E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3E
Deuteranopia (green-blind)
#3F3F3E
Tritanopia (blue-blind)
#403E3E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403e3e;
/* rgb */ color: rgb(64, 62, 62);
/* oklch */ color: oklch(36.6% 0.003 17.2);
Tailwind
colors: {
  custom: {
    50: '#747373',
    500: '#403e3e',
    950: '#000000',
  },
}
SCSS
$custom: #403e3e;
$custom-light: #747373;
$custom-dark: #000000;
JSON
{
  "hex": "#403e3e",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 62
  },
  "hsl": {
    "h": 0,
    "s": 1.587,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36583,
    "c": 0.00274,
    "h": 17.2
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#403E3E
secondary
#6C6E6E
accent
#ABAB7D
background
#F7F6F6
surface
#EDECEC
border
#C8C7C7
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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