#403D40#403D40

#403D40 is a dark, near-neutral grey. Relative luminance 0.048; OKLCH L 36.4% C 0.006 H 325.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#403D40
RGBrgb(64, 61, 64)
HSLhsl(300, 2%, 25%)
HSVhsv(300, 5%, 25%)
CMYKcmyk(0%, 4.7%, 0%, 74.9%)
CIE-LABlab(26.15, 1.95, -1.38)
CIE-LCHlch(26.15, 2.39, 324.67°)
OKLaboklab(36.41% 0.0054 -0.0036)
OKLCHoklch(36.41% 0.006 325.7)
XYZxyz(4.7084, 4.7977, 5.5275)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D40 #3D403D
analogous
#3F3D40 #403D40 #403D3F
triadic
#403D40 #40403D #3D4040
tetradic
#403D40 #403F3D #3D403D #3D3F40
square
#403D40 #403F3D #3D403D #3D3F40
split-complementary
#403D40 #3F403D #3D403F
monochromatic
#100F10 #211F21 #403D40 #5F5B5F #7F797F

Accessibility & contrast

On white

10.72
#403D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#403D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D40
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D40#FFFFFF#000000##FFFFFF
##403D401.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#3D3E40
Tritanopia (blue-blind)
#403D3E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403d40;
/* rgb */ color: rgb(64, 61, 64);
/* oklch */ color: oklch(36.4% 0.006 325.7);
Tailwind
colors: {
  custom: {
    50: '#747274',
    500: '#403d40',
    950: '#000000',
  },
}
SCSS
$custom: #403d40;
$custom-light: #747274;
$custom-dark: #000000;
JSON
{
  "hex": "#403d40",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 64
  },
  "hsl": {
    "h": 300,
    "s": 2.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.00648,
    "h": 325.7
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#403D40
secondary
#6B6E6B
accent
#AC7C7C
background
#F7F6F7
surface
#EDECED
border
#C8C7C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403D40

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

Preview Lab → · Contrast checker → · Palette generator →

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