#403F43#403F43

#403F43 is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.0% C 0.007 H 297.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#403F43
RGBrgb(64, 63, 67)
HSLhsl(255, 3%, 25%)
HSVhsv(255, 6%, 26%)
CMYKcmyk(4.5%, 6%, 0%, 73.7%)
CIE-LABlab(26.88, 1.33, -2.29)
CIE-LCHlch(26.88, 2.65, 300.25°)
OKLaboklab(37.01% 0.0032 -0.0061)
OKLCHoklch(37.01% 0.007 297.5)
XYZxyz(4.9048, 5.0502, 6.0255)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F43 #42433F
analogous
#3F4043 #403F43 #423F43
triadic
#403F43 #43403F #3F4340
tetradic
#403F43 #433F40 #42433F #3F4342
square
#403F43 #433F40 #42433F #3F4342
split-complementary
#403F43 #43423F #40433F
monochromatic
#0F0F10 #222123 #403F43 #5E5D63 #7C7A82

Accessibility & contrast

On white

10.45
#403F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#403F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F43
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F43#FFFFFF#000000##FFFFFF
##403F431.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f43;
/* rgb */ color: rgb(64, 63, 67);
/* oklch */ color: oklch(37.0% 0.007 297.5);
Tailwind
colors: {
  custom: {
    50: '#747477',
    500: '#403f43',
    950: '#000000',
  },
}
SCSS
$custom: #403f43;
$custom-light: #747477;
$custom-dark: #000000;
JSON
{
  "hex": "#403f43",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 67
  },
  "hsl": {
    "h": 255,
    "s": 3.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37013,
    "c": 0.00687,
    "h": 297.5
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#403F43
secondary
#70716D
accent
#AC7CA0
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403F43

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

Preview Lab → · Contrast checker → · Palette generator →

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