#403C42#403C42

#403C42 is a dark, near-neutral grey. Relative luminance 0.047; OKLCH L 36.2% C 0.011 H 314.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#403C42
RGBrgb(64, 60, 66)
HSLhsl(280, 5%, 25%)
HSVhsv(280, 9%, 26%)
CMYKcmyk(3%, 9.1%, 0%, 74.1%)
CIE-LABlab(25.91, 3.06, -3.06)
CIE-LCHlch(25.91, 4.33, 314.99°)
OKLaboklab(36.24% 0.0081 -0.0082)
OKLCHoklch(36.24% 0.011 314.7)
XYZxyz(4.7134, 4.7151, 5.8150)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C42 #3E423C
analogous
#3D3C42 #403C42 #423C41
triadic
#403C42 #42403C #3C4240
tetradic
#403C42 #423D3C #3E423C #3C4142
square
#403C42 #423D3C #3E423C #3C4142
split-complementary
#403C42 #41423C #3C423D
monochromatic
#100F10 #211F22 #403C42 #5F5962 #7E7682

Accessibility & contrast

On white

10.81
#403C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C42
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C42#FFFFFF#000000##FFFFFF
##403C421.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D42
Deuteranopia (green-blind)
#3C3D42
Tritanopia (blue-blind)
#403D3E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403c42;
/* rgb */ color: rgb(64, 60, 66);
/* oklch */ color: oklch(36.2% 0.011 314.7);
Tailwind
colors: {
  custom: {
    50: '#747176',
    500: '#403c42',
    950: '#000000',
  },
}
SCSS
$custom: #403c42;
$custom-light: #747176;
$custom-dark: #000000;
JSON
{
  "hex": "#403c42",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 66
  },
  "hsl": {
    "h": 280,
    "s": 4.762,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.01148,
    "h": 314.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#403C42
secondary
#6C7169
accent
#AE7A8B
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #403C42

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

Preview Lab → · Contrast checker → · Palette generator →

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