#403C40#403C40

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

Color values

HEX#403C40
RGBrgb(64, 60, 64)
HSLhsl(300, 3%, 24%)
HSVhsv(300, 6%, 25%)
CMYKcmyk(0%, 6.2%, 0%, 74.9%)
CIE-LABlab(25.84, 2.60, -1.84)
CIE-LCHlch(25.84, 3.19, 324.74°)
OKLaboklab(36.17% 0.0072 -0.0049)
OKLCHoklch(36.17% 0.009 325.8)
XYZxyz(4.6555, 4.6919, 5.5099)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C40 #3C403C
analogous
#3E3C40 #403C40 #403C3E
triadic
#403C40 #40403C #3C4040
tetradic
#403C40 #403E3C #3C403C #3C3E40
square
#403C40 #403E3C #3C403C #3C3E40
split-complementary
#403C40 #3E403C #3C403E
monochromatic
#100F10 #201E20 #403C40 #605A60 #7F777F

Accessibility & contrast

On white

10.83
#403C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C40
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C40#FFFFFF#000000##FFFFFF
##403C401.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#3D3D40
Tritanopia (blue-blind)
#403C3D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403c40;
/* rgb */ color: rgb(64, 60, 64);
/* oklch */ color: oklch(36.2% 0.009 325.8);
Tailwind
colors: {
  custom: {
    50: '#747174',
    500: '#403c40',
    950: '#000000',
  },
}
SCSS
$custom: #403c40;
$custom-light: #747174;
$custom-dark: #000000;
JSON
{
  "hex": "#403c40",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 64
  },
  "hsl": {
    "h": 300,
    "s": 3.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.00866,
    "h": 325.8
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#403C40
secondary
#696E69
accent
#AC7B7B
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080708
muted
#7B7A7B

Preview Lab

Preview with #403C40

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

Preview Lab → · Contrast checker → · Palette generator →

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