#403B85#403B85

#403B85 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.120 H 282.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#403B85
RGBrgb(64, 59, 133)
HSLhsl(244, 39%, 38%)
HSVhsv(244, 56%, 52%)
CMYKcmyk(51.9%, 55.6%, 0%, 47.8%)
CIE-LABlab(29.19, 23.53, -41.05)
CIE-LCHlch(29.19, 47.31, 299.83°)
OKLaboklab(39.9% 0.0261 -0.1172)
OKLCHoklch(39.9% 0.12 282.5)
XYZxyz(7.9107, 5.9110, 22.9098)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B85 #80853B
analogous
#3B5B85 #403B85 #653B85
triadic
#403B85 #85403B #3B8540
tetradic
#403B85 #853B5B #80853B #3B8565
square
#403B85 #853B5B #80853B #3B8565
split-complementary
#403B85 #85653B #5B853B
monochromatic
#171530 #2C285B #403B85 #544EAF #7D78C3

Accessibility & contrast

On white

9.62
#403B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#403B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B85
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B85#FFFFFF#000000##FFFFFF
##403B851.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114788
Deuteranopia (green-blind)
#0A4283
Tritanopia (blue-blind)
#264B5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403b85;
/* rgb */ color: rgb(64, 59, 133);
/* oklch */ color: oklch(39.9% 0.120 282.5);
Tailwind
colors: {
  custom: {
    50: '#7a71a9',
    500: '#403b85',
    950: '#000000',
  },
}
SCSS
$custom: #403b85;
$custom-light: #7a71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#403b85",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 244.054,
    "s": 38.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.12005,
    "h": 282.5
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#403B85
secondary
#A8AC6F
accent
#CE59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403B85

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

Preview Lab → · Contrast checker → · Palette generator →

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