#403F37#403F37

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

Color values

HEX#403F37
RGBrgb(64, 63, 55)
HSLhsl(53, 8%, 23%)
HSVhsv(53, 14%, 25%)
CMYKcmyk(0%, 1.6%, 14.1%, 74.9%)
CIE-LABlab(26.51, -1.26, 5.06)
CIE-LCHlch(26.51, 5.22, 103.96°)
OKLaboklab(36.6% -0.0026 0.0132)
OKLCHoklch(36.6% 0.013 101.2)
XYZxyz(4.5814, 4.9209, 4.3222)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F37 #373840
analogous
#403A37 #403F37 #3C4037
triadic
#403F37 #37403F #3F3740
tetradic
#403F37 #37403A #373840 #40373C
square
#403F37 #37403A #373840 #40373C
split-complementary
#403F37 #373C40 #3A3740
monochromatic
#10100E #1F1F1B #403F37 #615F53 #828070

Accessibility & contrast

On white

10.58
#403F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F37
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F37#FFFFFF#000000##FFFFFF
##403F371.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E37
Deuteranopia (green-blind)
#413F37
Tritanopia (blue-blind)
#423E3D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403f37;
/* rgb */ color: rgb(64, 63, 55);
/* oklch */ color: oklch(36.6% 0.013 101.2);
Tailwind
colors: {
  custom: {
    50: '#74746d',
    500: '#403f37',
    950: '#000000',
  },
}
SCSS
$custom: #403f37;
$custom-light: #74746d;
$custom-dark: #000000;
JSON
{
  "hex": "#403f37",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 55
  },
  "hsl": {
    "h": 53.333,
    "s": 7.563,
    "l": 23.333
  },
  "oklch": {
    "l": 0.366,
    "c": 0.01341,
    "h": 101.2
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#403F37
secondary
#64656F
accent
#7EB177
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #403F37

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

Preview Lab → · Contrast checker → · Palette generator →

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