#403C5A#403C5A

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

Color values

HEX#403C5A
RGBrgb(64, 60, 90)
HSLhsl(248, 20%, 29%)
HSVhsv(248, 33%, 35%)
CMYKcmyk(28.9%, 33.3%, 0%, 64.7%)
CIE-LABlab(26.90, 9.34, -17.31)
CIE-LCHlch(26.90, 19.67, 298.34°)
OKLaboklab(37.35% 0.0173 -0.048)
OKLCHoklch(37.35% 0.051 289.8)
XYZxyz(5.5752, 5.0598, 10.3538)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C5A #565A3C
analogous
#3C475A #403C5A #4F3C5A
triadic
#403C5A #5A403C #3C5A40
tetradic
#403C5A #5A3C47 #565A3C #3C5A4F
square
#403C5A #5A3C47 #565A3C #3C5A4F
split-complementary
#403C5A #5A4F3C #475A3C
monochromatic
#0D0C12 #262435 #403C5A #5A547F #7770A0

Accessibility & contrast

On white

10.44
#403C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C5A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C5A#FFFFFF#000000##FFFFFF
##403C5A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405B
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#3A4147
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #403c5a;
/* rgb */ color: rgb(64, 60, 90);
/* oklch */ color: oklch(37.3% 0.051 289.8);
Tailwind
colors: {
  custom: {
    50: '#757188',
    500: '#403c5a',
    950: '#000000',
  },
}
SCSS
$custom: #403c5a;
$custom-light: #757188;
$custom-dark: #000000;
JSON
{
  "hex": "#403c5a",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 90
  },
  "hsl": {
    "h": 248,
    "s": 20,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37345,
    "c": 0.05098,
    "h": 289.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#403C5A
secondary
#858A68
accent
#BD6BB2
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08070B
muted
#7B7A7C

Preview Lab

Preview with #403C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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