#403B82#403B82

#403B82 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.7% C 0.116 H 282.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#403B82
RGBrgb(64, 59, 130)
HSLhsl(244, 38%, 37%)
HSVhsv(244, 55%, 51%)
CMYKcmyk(50.8%, 54.6%, 0%, 49%)
CIE-LABlab(28.98, 22.54, -39.52)
CIE-LCHlch(28.98, 45.49, 299.70°)
OKLaboklab(39.68% 0.0259 -0.1127)
OKLCHoklch(39.68% 0.116 282.9)
XYZxyz(7.7064, 5.8292, 21.8339)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B82 #7D823B
analogous
#3B5A82 #403B82 #643B82
triadic
#403B82 #82403B #3B8240
tetradic
#403B82 #823B5A #7D823B #3B8264
square
#403B82 #823B5A #7D823B #3B8264
split-complementary
#403B82 #82643B #5A823B
monochromatic
#17152E #2B2858 #403B82 #554EAC #7C76C1

Accessibility & contrast

On white

9.70
#403B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#403B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B82
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B82#FFFFFF#000000##FFFFFF
##403B821.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164784
Deuteranopia (green-blind)
#114280
Tritanopia (blue-blind)
#284B58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403b82;
/* rgb */ color: rgb(64, 59, 130);
/* oklch */ color: oklch(39.7% 0.116 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a71a7',
    500: '#403b82',
    950: '#000000',
  },
}
SCSS
$custom: #403b82;
$custom-light: #7a71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#403b82",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 244.225,
    "s": 37.566,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.11562,
    "h": 282.9
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#403B82
secondary
#A6AB6E
accent
#CE5AC5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #403B82

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

Preview Lab → · Contrast checker → · Palette generator →

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