#403C58#403C58

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

Color values

HEX#403C58
RGBrgb(64, 60, 88)
HSLhsl(249, 19%, 29%)
HSVhsv(249, 32%, 35%)
CMYKcmyk(27.3%, 31.8%, 0%, 65.5%)
CIE-LABlab(26.81, 8.77, -16.16)
CIE-LCHlch(26.81, 18.39, 298.49°)
OKLaboklab(37.24% 0.0166 -0.0447)
OKLCHoklch(37.24% 0.048 290.4)
XYZxyz(5.4912, 5.0262, 9.9115)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C58 #54583C
analogous
#3C4658 #403C58 #4E3C58
triadic
#403C58 #58403C #3C5840
tetradic
#403C58 #583C46 #54583C #3C584E
square
#403C58 #583C46 #54583C #3C584E
split-complementary
#403C58 #584E3C #46583C
monochromatic
#0D0C12 #262334 #403C58 #5A557C #77719E

Accessibility & contrast

On white

10.47
#403C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C58
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C58#FFFFFF#000000##FFFFFF
##403C581.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#353F57
Tritanopia (blue-blind)
#3B4146
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #403c58;
/* rgb */ color: rgb(64, 60, 88);
/* oklch */ color: oklch(37.2% 0.048 290.4);
Tailwind
colors: {
  custom: {
    50: '#757187',
    500: '#403c58',
    950: '#000000',
  },
}
SCSS
$custom: #403c58;
$custom-light: #757187;
$custom-dark: #000000;
JSON
{
  "hex": "#403c58",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 88
  },
  "hsl": {
    "h": 248.571,
    "s": 18.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.04767,
    "h": 290.4
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#403C58
secondary
#838868
accent
#BC6CB0
background
#F7F6F8
surface
#EDECEF
border
#C8C7CA
text
#08070B
muted
#7B7A7C

Preview Lab

Preview with #403C58

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

Preview Lab → · Contrast checker → · Palette generator →

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