#403F56#403F56

#403F56 is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.8% C 0.039 H 286.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#403F56
RGBrgb(64, 63, 86)
HSLhsl(243, 15%, 29%)
HSVhsv(243, 27%, 34%)
CMYKcmyk(25.6%, 26.7%, 0%, 66.3%)
CIE-LABlab(27.62, 6.21, -13.61)
CIE-LCHlch(27.62, 14.96, 294.54°)
OKLaboklab(37.84% 0.011 -0.0374)
OKLCHoklch(37.84% 0.039 286.4)
XYZxyz(5.5712, 5.3168, 9.5350)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F56 #55563F
analogous
#3F4A56 #403F56 #4C3F56
triadic
#403F56 #56403F #3F5640
tetradic
#403F56 #563F4A #55563F #3F564C
square
#403F56 #563F4A #55563F #3F564C
split-complementary
#403F56 #564C3F #4A563F
monochromatic
#0D0D12 #262533 #403F56 #5A5979 #77759A

Accessibility & contrast

On white

10.18
#403F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#403F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F56
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F56#FFFFFF#000000##FFFFFF
##403F561.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#394155
Tritanopia (blue-blind)
#3B4347
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403f56;
/* rgb */ color: rgb(64, 63, 86);
/* oklch */ color: oklch(37.8% 0.039 286.4);
Tailwind
colors: {
  custom: {
    50: '#757485',
    500: '#403f56',
    950: '#000000',
  },
}
SCSS
$custom: #403f56;
$custom-light: #757485;
$custom-dark: #000000;
JSON
{
  "hex": "#403f56",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 86
  },
  "hsl": {
    "h": 242.609,
    "s": 15.436,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.03901,
    "h": 286.4
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#403F56
secondary
#84856B
accent
#B870B5
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #403F56

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

Preview Lab → · Contrast checker → · Palette generator →

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