#403E5C#403E5C

#403E5C is a dark, muted blue. Relative luminance 0.053; OKLCH L 37.9% C 0.051 H 286.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#403E5C
RGBrgb(64, 62, 92)
HSLhsl(244, 19%, 30%)
HSVhsv(244, 33%, 36%)
CMYKcmyk(30.4%, 32.6%, 0%, 63.9%)
CIE-LABlab(27.59, 8.58, -17.54)
CIE-LCHlch(27.59, 19.53, 296.07°)
OKLaboklab(37.91% 0.0147 -0.0486)
OKLCHoklch(37.91% 0.051 286.8)
XYZxyz(5.7682, 5.3078, 10.8437)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E5C #5A5C3E
analogous
#3E4B5C #403E5C #4F3E5C
triadic
#403E5C #5C403E #3E5C40
tetradic
#403E5C #5C3E4B #5A5C3E #3E5C4F
square
#403E5C #5C3E4B #5A5C3E #3E5C4F
split-complementary
#403E5C #5C4F3E #4B5C3E
monochromatic
#0D0D13 #272537 #403E5C #595781 #7673A1

Accessibility & contrast

On white

10.19
#403E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#403E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E5C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E5C#FFFFFF#000000##FFFFFF
##403E5C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#35405B
Tritanopia (blue-blind)
#394349
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403e5c;
/* rgb */ color: rgb(64, 62, 92);
/* oklch */ color: oklch(37.9% 0.051 286.8);
Tailwind
colors: {
  custom: {
    50: '#75738a',
    500: '#403e5c',
    950: '#000000',
  },
}
SCSS
$custom: #403e5c;
$custom-light: #75738a;
$custom-dark: #000000;
JSON
{
  "hex": "#403e5c",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 92
  },
  "hsl": {
    "h": 244,
    "s": 19.481,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37908,
    "c": 0.05079,
    "h": 286.8
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#403E5C
secondary
#898C6A
accent
#BC6CB7
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #403E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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