#403D52#403D52

#403D52 is a dark, muted blue. Relative luminance 0.050; OKLCH L 37.2% C 0.036 H 291.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#403D52
RGBrgb(64, 61, 82)
HSLhsl(249, 15%, 28%)
HSVhsv(249, 26%, 32%)
CMYKcmyk(22%, 25.6%, 0%, 67.8%)
CIE-LABlab(26.84, 6.44, -12.20)
CIE-LCHlch(26.84, 13.79, 297.84°)
OKLaboklab(37.17% 0.0129 -0.0334)
OKLCHoklch(37.17% 0.036 291.1)
XYZxyz(5.3057, 5.0366, 8.6736)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D52 #4F523D
analogous
#3D4452 #403D52 #4A3D52
triadic
#403D52 #52403D #3D5240
tetradic
#403D52 #523D44 #4F523D #3D524A
square
#403D52 #523D44 #4F523D #3D524A
split-complementary
#403D52 #524A3D #44523D
monochromatic
#0E0D12 #25232F #403D52 #5B5775 #787397

Accessibility & contrast

On white

10.46
#403D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#403D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D52
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D52#FFFFFF#000000##FFFFFF
##403D521.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#383F51
Tritanopia (blue-blind)
#3C4044
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403d52;
/* rgb */ color: rgb(64, 61, 82);
/* oklch */ color: oklch(37.2% 0.036 291.1);
Tailwind
colors: {
  custom: {
    50: '#757282',
    500: '#403d52',
    950: '#000000',
  },
}
SCSS
$custom: #403d52;
$custom-light: #757282;
$custom-dark: #000000;
JSON
{
  "hex": "#403d52",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 82
  },
  "hsl": {
    "h": 248.571,
    "s": 14.685,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.03582,
    "h": 291.1
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#403D52
secondary
#7E8169
accent
#B770AD
background
#F7F6F7
surface
#EDECEE
border
#C8C7C9
text
#08080A
muted
#7B7B7C

Preview Lab

Preview with #403D52

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

Preview Lab → · Contrast checker → · Palette generator →

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