#403F50#403F50

#403F50 is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.6% C 0.029 H 287.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#403F50
RGBrgb(64, 63, 80)
HSLhsl(244, 12%, 28%)
HSVhsv(244, 21%, 31%)
CMYKcmyk(20%, 21.2%, 0%, 68.6%)
CIE-LABlab(27.36, 4.58, -10.09)
CIE-LCHlch(27.36, 11.08, 294.43°)
OKLaboklab(37.55% 0.0087 -0.0275)
OKLCHoklch(37.55% 0.029 287.6)
XYZxyz(5.3395, 5.2241, 8.3149)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F50 #4F503F
analogous
#3F4650 #403F50 #483F50
triadic
#403F50 #50403F #3F5040
tetradic
#403F50 #503F46 #4F503F #3F5048
square
#403F50 #503F46 #4F503F #3F5048
split-complementary
#403F50 #50483F #46503F
monochromatic
#0E0D11 #25242E #403F50 #5B5A72 #787693

Accessibility & contrast

On white

10.27
#403F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F50
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F50#FFFFFF#000000##FFFFFF
##403F501.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4151
Deuteranopia (green-blind)
#3B4050
Tritanopia (blue-blind)
#3D4245
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403f50;
/* rgb */ color: rgb(64, 63, 80);
/* oklch */ color: oklch(37.6% 0.029 287.6);
Tailwind
colors: {
  custom: {
    50: '#757481',
    500: '#403f50',
    950: '#000000',
  },
}
SCSS
$custom: #403f50;
$custom-light: #757481;
$custom-dark: #000000;
JSON
{
  "hex": "#403f50",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 80
  },
  "hsl": {
    "h": 243.529,
    "s": 11.888,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.02887,
    "h": 287.6
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#403F50
secondary
#7E7F6C
accent
#B573B1
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #403F50

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

Preview Lab → · Contrast checker → · Palette generator →

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