#403F4F#403F4F

#403F4F is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.5% C 0.027 H 287.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#403F4F
RGBrgb(64, 63, 79)
HSLhsl(244, 11%, 28%)
HSVhsv(244, 20%, 31%)
CMYKcmyk(19%, 20.3%, 0%, 69%)
CIE-LABlab(27.32, 4.32, -9.49)
CIE-LCHlch(27.32, 10.43, 294.45°)
OKLaboklab(37.51% 0.0083 -0.0259)
OKLCHoklch(37.51% 0.027 287.9)
XYZxyz(5.3028, 5.2095, 8.1218)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F4F #4E4F3F
analogous
#3F464F #403F4F #483F4F
triadic
#403F4F #4F403F #3F4F40
tetradic
#403F4F #4F3F46 #4E4F3F #3F4F48
square
#403F4F #4F3F46 #4E4F3F #3F4F48
split-complementary
#403F4F #4F483F #464F3F
monochromatic
#0E0E11 #24242D #403F4F #5C5A71 #787692

Accessibility & contrast

On white

10.28
#403F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#403F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F4F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F4F#FFFFFF#000000##FFFFFF
##403F4F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#3B404F
Tritanopia (blue-blind)
#3D4244
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403f4f;
/* rgb */ color: rgb(64, 63, 79);
/* oklch */ color: oklch(37.5% 0.027 287.9);
Tailwind
colors: {
  custom: {
    50: '#757480',
    500: '#403f4f',
    950: '#000000',
  },
}
SCSS
$custom: #403f4f;
$custom-light: #757480;
$custom-dark: #000000;
JSON
{
  "hex": "#403f4f",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 79
  },
  "hsl": {
    "h": 243.75,
    "s": 11.268,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37509,
    "c": 0.02717,
    "h": 287.9
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#403F4F
secondary
#7D7E6C
accent
#B474B0
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #403F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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