#403F52#403F52

#403F52 is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.6% C 0.032 H 287.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#403F52
RGBrgb(64, 63, 82)
HSLhsl(243, 13%, 28%)
HSVhsv(243, 23%, 32%)
CMYKcmyk(22%, 23.2%, 0%, 67.8%)
CIE-LABlab(27.45, 5.12, -11.27)
CIE-LCHlch(27.45, 12.37, 294.43°)
OKLaboklab(37.65% 0.0095 -0.0308)
OKLCHoklch(37.65% 0.032 287.1)
XYZxyz(5.4145, 5.2541, 8.7099)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F52 #51523F
analogous
#3F4752 #403F52 #493F52
triadic
#403F52 #52403F #3F5240
tetradic
#403F52 #523F47 #51523F #3F5249
square
#403F52 #523F47 #51523F #3F5249
split-complementary
#403F52 #52493F #47523F
monochromatic
#0E0D11 #25242F #403F52 #5B5A75 #777696

Accessibility & contrast

On white

10.24
#403F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#403F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F52
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F52#FFFFFF#000000##FFFFFF
##403F521.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#3A4051
Tritanopia (blue-blind)
#3C4245
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403f52;
/* rgb */ color: rgb(64, 63, 82);
/* oklch */ color: oklch(37.6% 0.032 287.1);
Tailwind
colors: {
  custom: {
    50: '#757482',
    500: '#403f52',
    950: '#000000',
  },
}
SCSS
$custom: #403f52;
$custom-light: #757482;
$custom-dark: #000000;
JSON
{
  "hex": "#403f52",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 82
  },
  "hsl": {
    "h": 243.158,
    "s": 13.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.03225,
    "h": 287.1
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#403F52
secondary
#80816C
accent
#B672B2
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #403F52

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

Preview Lab → · Contrast checker → · Palette generator →

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