#403F3D#403F3D

#403F3D is a dark, near-neutral grey. Relative luminance 0.050; OKLCH L 36.8% C 0.004 H 84.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#403F3D
RGBrgb(64, 63, 61)
HSLhsl(40, 2%, 25%)
HSVhsv(40, 5%, 25%)
CMYKcmyk(0%, 1.6%, 4.7%, 74.9%)
CIE-LABlab(26.68, -0.01, 1.37)
CIE-LCHlch(26.68, 1.37, 90.62°)
OKLaboklab(36.8% 0.0003 0.0036)
OKLCHoklch(36.8% 0.004 84.6)
XYZxyz(4.7340, 4.9819, 5.1262)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F3D #3D3E40
analogous
#403E3D #403F3D #40403D
triadic
#403F3D #3D403F #3F3D40
tetradic
#403F3D #3D403E #3D3E40 #403D40
square
#403F3D #3D403E #3D3E40 #403D40
split-complementary
#403F3D #3D4040 #3E3D40
monochromatic
#100F0F #21201F #403F3D #5F5E5B #7F7D79

Accessibility & contrast

On white

10.52
#403F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#403F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F3D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F3D#FFFFFF#000000##FFFFFF
##403F3D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3D
Deuteranopia (green-blind)
#403F3D
Tritanopia (blue-blind)
#413F3E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403f3d;
/* rgb */ color: rgb(64, 63, 61);
/* oklch */ color: oklch(36.8% 0.004 84.6);
Tailwind
colors: {
  custom: {
    50: '#747472',
    500: '#403f3d',
    950: '#000000',
  },
}
SCSS
$custom: #403f3d;
$custom-light: #747472;
$custom-dark: #000000;
JSON
{
  "hex": "#403f3d",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 61
  },
  "hsl": {
    "h": 40,
    "s": 2.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.00365,
    "h": 84.6
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#403F3D
secondary
#6B6C6E
accent
#8CAC7C
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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