#403F48#403F48

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

Color values

HEX#403F48
RGBrgb(64, 63, 72)
HSLhsl(247, 7%, 26%)
HSVhsv(247, 13%, 28%)
CMYKcmyk(11.1%, 12.5%, 0%, 71.8%)
CIE-LABlab(27.05, 2.53, -5.31)
CIE-LCHlch(27.05, 5.88, 295.48°)
OKLaboklab(37.21% 0.0054 -0.0143)
OKLCHoklch(37.21% 0.015 290.8)
XYZxyz(5.0613, 5.1129, 6.8499)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F48 #47483F
analogous
#3F4348 #403F48 #453F48
triadic
#403F48 #48403F #3F4840
tetradic
#403F48 #483F43 #47483F #3F4845
square
#403F48 #483F43 #47483F #3F4845
split-complementary
#403F48 #48453F #43483F
monochromatic
#0F0E10 #232227 #403F48 #5D5C69 #7A7889

Accessibility & contrast

On white

10.38
#403F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F48
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F48#FFFFFF#000000##FFFFFF
##403F481.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f48;
/* rgb */ color: rgb(64, 63, 72);
/* oklch */ color: oklch(37.2% 0.015 290.8);
Tailwind
colors: {
  custom: {
    50: '#74747b',
    500: '#403f48',
    950: '#000000',
  },
}
SCSS
$custom: #403f48;
$custom-light: #74747b;
$custom-dark: #000000;
JSON
{
  "hex": "#403f48",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 72
  },
  "hsl": {
    "h": 246.667,
    "s": 6.667,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.01529,
    "h": 290.8
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#403F48
secondary
#76776C
accent
#B078AA
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080809
muted
#7B7B7B

Preview Lab

Preview with #403F48

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

Preview Lab → · Contrast checker → · Palette generator →

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