#403D55#403D55

#403D55 is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.3% C 0.041 H 290.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#403D55
RGBrgb(64, 61, 85)
HSLhsl(248, 16%, 29%)
HSVhsv(248, 28%, 33%)
CMYKcmyk(24.7%, 28.2%, 0%, 66.7%)
CIE-LABlab(26.97, 7.26, -13.95)
CIE-LCHlch(26.97, 15.73, 297.49°)
OKLaboklab(37.32% 0.014 -0.0384)
OKLCHoklch(37.32% 0.041 290)
XYZxyz(5.4224, 5.0833, 9.2881)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D55 #52553D
analogous
#3D4655 #403D55 #4C3D55
triadic
#403D55 #55403D #3D5540
tetradic
#403D55 #553D46 #52553D #3D554C
square
#403D55 #553D46 #52553D #3D554C
split-complementary
#403D55 #554C3D #46553D
monochromatic
#0D0D12 #252331 #403D55 #5B5779 #77729A

Accessibility & contrast

On white

10.41
#403D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#403D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D55
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D55#FFFFFF#000000##FFFFFF
##403D551.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374056
Deuteranopia (green-blind)
#373F54
Tritanopia (blue-blind)
#3C4145
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403d55;
/* rgb */ color: rgb(64, 61, 85);
/* oklch */ color: oklch(37.3% 0.041 290.0);
Tailwind
colors: {
  custom: {
    50: '#757285',
    500: '#403d55',
    950: '#000000',
  },
}
SCSS
$custom: #403d55;
$custom-light: #757285;
$custom-dark: #000000;
JSON
{
  "hex": "#403d55",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 85
  },
  "hsl": {
    "h": 247.5,
    "s": 16.438,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.04086,
    "h": 290
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#403D55
secondary
#818569
accent
#B96FB0
background
#F7F6F8
surface
#EDECEF
border
#C8C7CA
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #403D55

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

Preview Lab → · Contrast checker → · Palette generator →

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