#403F46#403F46

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

Color values

HEX#403F46
RGBrgb(64, 63, 70)
HSLhsl(249, 5%, 26%)
HSVhsv(249, 10%, 27%)
CMYKcmyk(8.6%, 10%, 0%, 72.5%)
CIE-LABlab(26.98, 2.04, -4.11)
CIE-LCHlch(26.98, 4.59, 296.47°)
OKLaboklab(37.13% 0.0045 -0.011)
OKLCHoklch(37.13% 0.012 292.4)
XYZxyz(4.9971, 5.0872, 6.5118)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F46 #45463F
analogous
#3F4146 #403F46 #433F46
triadic
#403F46 #46403F #3F4640
tetradic
#403F46 #463F41 #45463F #3F4643
square
#403F46 #463F41 #45463F #3F4643
split-complementary
#403F46 #46433F #41463F
monochromatic
#0F0E10 #232226 #403F46 #5D5C66 #7B7986

Accessibility & contrast

On white

10.41
#403F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F46
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F46#FFFFFF#000000##FFFFFF
##403F461.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f46;
/* rgb */ color: rgb(64, 63, 70);
/* oklch */ color: oklch(37.1% 0.012 292.4);
Tailwind
colors: {
  custom: {
    50: '#747479',
    500: '#403f46',
    950: '#000000',
  },
}
SCSS
$custom: #403f46;
$custom-light: #747479;
$custom-dark: #000000;
JSON
{
  "hex": "#403f46",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 70
  },
  "hsl": {
    "h": 248.571,
    "s": 5.263,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.01191,
    "h": 292.4
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#403F46
secondary
#73756C
accent
#AE79A7
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403F46

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

Preview Lab → · Contrast checker → · Palette generator →

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