#403F55#403F55

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

Color values

HEX#403F55
RGBrgb(64, 63, 85)
HSLhsl(243, 15%, 29%)
HSVhsv(243, 26%, 33%)
CMYKcmyk(24.7%, 25.9%, 0%, 66.7%)
CIE-LABlab(27.58, 5.94, -13.03)
CIE-LCHlch(27.58, 14.31, 294.50°)
OKLaboklab(37.79% 0.0106 -0.0358)
OKLCHoklch(37.79% 0.037 286.5)
XYZxyz(5.5312, 5.3008, 9.3243)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F55 #54553F
analogous
#3F4955 #403F55 #4B3F55
triadic
#403F55 #55403F #3F5540
tetradic
#403F55 #553F49 #54553F #3F554B
square
#403F55 #553F49 #54553F #3F554B
split-complementary
#403F55 #554B3F #49553F
monochromatic
#0D0D12 #262532 #403F55 #5A5978 #777599

Accessibility & contrast

On white

10.19
#403F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F55
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F55#FFFFFF#000000##FFFFFF
##403F551.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f55;
/* rgb */ color: rgb(64, 63, 85);
/* oklch */ color: oklch(37.8% 0.037 286.5);
Tailwind
colors: {
  custom: {
    50: '#757485',
    500: '#403f55',
    950: '#000000',
  },
}
SCSS
$custom: #403f55;
$custom-light: #757485;
$custom-dark: #000000;
JSON
{
  "hex": "#403f55",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 85
  },
  "hsl": {
    "h": 242.727,
    "s": 14.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.03733,
    "h": 286.5
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#403F55
secondary
#83846B
accent
#B870B4
background
#F7F7F8
surface
#EDEDEF
border
#C8C8CA
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #403F55

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

Preview Lab → · Contrast checker → · Palette generator →

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