#403F45#403F45

#403F45 is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.1% C 0.010 H 293.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#403F45
RGBrgb(64, 63, 69)
HSLhsl(250, 5%, 26%)
HSVhsv(250, 9%, 27%)
CMYKcmyk(7.2%, 8.7%, 0%, 72.9%)
CIE-LABlab(26.95, 1.80, -3.50)
CIE-LCHlch(26.95, 3.94, 297.27°)
OKLaboklab(37.09% 0.0041 -0.0094)
OKLCHoklch(37.09% 0.01 293.5)
XYZxyz(4.9658, 5.0747, 6.3470)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F45 #44453F
analogous
#3F4145 #403F45 #433F45
triadic
#403F45 #45403F #3F4540
tetradic
#403F45 #453F41 #44453F #3F4543
square
#403F45 #453F41 #44453F #3F4543
split-complementary
#403F45 #45433F #41453F
monochromatic
#0F0F10 #222225 #403F45 #5E5C65 #7B7985

Accessibility & contrast

On white

10.42
#403F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F45
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F45#FFFFFF#000000##FFFFFF
##403F451.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f45;
/* rgb */ color: rgb(64, 63, 69);
/* oklch */ color: oklch(37.1% 0.010 293.5);
Tailwind
colors: {
  custom: {
    50: '#747478',
    500: '#403f45',
    950: '#000000',
  },
}
SCSS
$custom: #403f45;
$custom-light: #747478;
$custom-dark: #000000;
JSON
{
  "hex": "#403f45",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 69
  },
  "hsl": {
    "h": 250,
    "s": 4.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.01022,
    "h": 293.5
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#403F45
secondary
#72736C
accent
#AE7AA5
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403F45

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

Preview Lab → · Contrast checker → · Palette generator →

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