#403B40#403B40

#403B40 is a dark, near-neutral grey. Relative luminance 0.046; OKLCH L 35.9% C 0.011 H 325.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#403B40
RGBrgb(64, 59, 64)
HSLhsl(300, 4%, 24%)
HSVhsv(300, 8%, 25%)
CMYKcmyk(0%, 7.8%, 0%, 74.9%)
CIE-LABlab(25.53, 3.26, -2.30)
CIE-LCHlch(25.53, 3.99, 324.82°)
OKLaboklab(35.92% 0.009 -0.0061)
OKLCHoklch(35.92% 0.011 325.8)
XYZxyz(4.6036, 4.5881, 5.4926)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B40 #3B403B
analogous
#3E3B40 #403B40 #403B3E
triadic
#403B40 #40403B #3B4040
tetradic
#403B40 #403E3B #3B403B #3B3E40
square
#403B40 #403E3B #3B403B #3B3E40
split-complementary
#403B40 #3E403B #3B403E
monochromatic
#100F10 #201E20 #403B40 #605860 #807680

Accessibility & contrast

On white

10.95
#403B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B40
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B40#FFFFFF#000000##FFFFFF
##403B401.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#3C3D40
Tritanopia (blue-blind)
#403B3D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403b40;
/* rgb */ color: rgb(64, 59, 64);
/* oklch */ color: oklch(35.9% 0.011 325.8);
Tailwind
colors: {
  custom: {
    50: '#747074',
    500: '#403b40',
    950: '#000000',
  },
}
SCSS
$custom: #403b40;
$custom-light: #747074;
$custom-dark: #000000;
JSON
{
  "hex": "#403b40",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 64
  },
  "hsl": {
    "h": 300,
    "s": 4.065,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.01084,
    "h": 325.8
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#403B40
secondary
#686E68
accent
#AD7B7B
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #403B40

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

Preview Lab → · Contrast checker → · Palette generator →

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