#403F3F#403F3F

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

Color values

HEX#403F3F
RGBrgb(64, 63, 63)
HSLhsl(0, 1%, 25%)
HSVhsv(0, 2%, 25%)
CMYKcmyk(0%, 1.6%, 1.6%, 74.9%)
CIE-LABlab(26.75, 0.42, 0.15)
CIE-LCHlch(26.75, 0.45, 19.52°)
OKLaboklab(36.87% 0.0013 0.0004)
OKLCHoklch(36.87% 0.001 17.1)
XYZxyz(4.7889, 5.0039, 5.4152)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F3F #3F4040
analogous
#403F40 #403F3F #40403F
triadic
#403F3F #3F403F #3F3F40
tetradic
#403F3F #40403F #3F4040 #403F40
square
#403F3F #40403F #3F4040 #403F40
split-complementary
#403F3F #3F4040 #3F4040
monochromatic
#0F0F0F #212121 #403F3F #5F5D5D #7E7C7C

Accessibility & contrast

On white

10.50
#403F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F3F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F3F#FFFFFF#000000##FFFFFF
##403F3F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f3f;
/* rgb */ color: rgb(64, 63, 63);
/* oklch */ color: oklch(36.9% 0.001 17.1);
Tailwind
colors: {
  custom: {
    50: '#747474',
    500: '#403f3f',
    950: '#000000',
  },
}
SCSS
$custom: #403f3f;
$custom-light: #747474;
$custom-dark: #000000;
JSON
{
  "hex": "#403f3f",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 63
  },
  "hsl": {
    "h": 0,
    "s": 0.787,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36866,
    "c": 0.00136,
    "h": 17.1
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#403F3F
secondary
#6D6E6E
accent
#AAAA7E
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #403F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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