#403F40#403F40

#403F40 is a dark, near-neutral grey. Relative luminance 0.050; OKLCH L 36.9% C 0.002 H 325.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#403F40
RGBrgb(64, 63, 64)
HSLhsl(300, 1%, 25%)
HSVhsv(300, 2%, 25%)
CMYKcmyk(0%, 1.6%, 0%, 74.9%)
CIE-LABlab(26.78, 0.65, -0.46)
CIE-LCHlch(26.78, 0.79, 324.51°)
OKLaboklab(36.9% 0.0018 -0.0012)
OKLCHoklch(36.9% 0.002 325.6)
XYZxyz(4.8171, 5.0152, 5.5637)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F40 #3F403F
analogous
#403F40 #403F40 #403F40
triadic
#403F40 #40403F #3F4040
tetradic
#403F40 #40403F #3F403F #3F4040
square
#403F40 #40403F #3F403F #3F4040
split-complementary
#403F40 #40403F #3F4040
monochromatic
#0F0F0F #212121 #403F40 #5F5D5F #7E7C7E

Accessibility & contrast

On white

10.48
#403F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#403F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F40
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F40#FFFFFF#000000##FFFFFF
##403F401.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#403F3F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403f40;
/* rgb */ color: rgb(64, 63, 64);
/* oklch */ color: oklch(36.9% 0.002 325.6);
Tailwind
colors: {
  custom: {
    50: '#747474',
    500: '#403f40',
    950: '#000000',
  },
}
SCSS
$custom: #403f40;
$custom-light: #747474;
$custom-dark: #000000;
JSON
{
  "hex": "#403f40",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 64
  },
  "hsl": {
    "h": 300,
    "s": 0.787,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36902,
    "c": 0.00216,
    "h": 325.6
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#403F40
secondary
#6D6E6D
accent
#AA7E7E
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403F40

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

Preview Lab → · Contrast checker → · Palette generator →

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