#403F47#403F47

#403F47 is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.2% C 0.014 H 291.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#403F47
RGBrgb(64, 63, 71)
HSLhsl(248, 6%, 26%)
HSVhsv(248, 11%, 28%)
CMYKcmyk(9.9%, 11.3%, 0%, 72.2%)
CIE-LABlab(27.02, 2.29, -4.71)
CIE-LCHlch(27.02, 5.24, 295.91°)
OKLaboklab(37.17% 0.005 -0.0127)
OKLCHoklch(37.17% 0.014 291.5)
XYZxyz(5.0290, 5.0999, 6.6795)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F47 #46473F
analogous
#3F4247 #403F47 #443F47
triadic
#403F47 #47403F #3F4740
tetradic
#403F47 #473F42 #46473F #3F4744
square
#403F47 #473F42 #46473F #3F4744
split-complementary
#403F47 #47443F #42473F
monochromatic
#0F0E10 #232227 #403F47 #5D5C67 #7B7988

Accessibility & contrast

On white

10.40
#403F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#403F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F47
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F47#FFFFFF#000000##FFFFFF
##403F471.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4047
Deuteranopia (green-blind)
#3D4047
Tritanopia (blue-blind)
#3F4042
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403f47;
/* rgb */ color: rgb(64, 63, 71);
/* oklch */ color: oklch(37.2% 0.014 291.5);
Tailwind
colors: {
  custom: {
    50: '#74747a',
    500: '#403f47',
    950: '#000000',
  },
}
SCSS
$custom: #403f47;
$custom-light: #74747a;
$custom-dark: #000000;
JSON
{
  "hex": "#403f47",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 71
  },
  "hsl": {
    "h": 247.5,
    "s": 5.97,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.0136,
    "h": 291.5
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#403F47
secondary
#74766C
accent
#AF79A8
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403F47

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

Preview Lab → · Contrast checker → · Palette generator →

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