#403B86#403B86

#403B86 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.122 H 282.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#403B86
RGBrgb(64, 59, 134)
HSLhsl(244, 39%, 38%)
HSVhsv(244, 56%, 53%)
CMYKcmyk(52.2%, 56%, 0%, 47.5%)
CIE-LABlab(29.26, 23.87, -41.55)
CIE-LCHlch(29.26, 47.92, 299.87°)
OKLaboklab(39.98% 0.0261 -0.1187)
OKLCHoklch(39.98% 0.122 282.4)
XYZxyz(7.9801, 5.9387, 23.2754)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B86 #81863B
analogous
#3B5B86 #403B86 #653B86
triadic
#403B86 #86403B #3B8640
tetradic
#403B86 #863B5B #81863B #3B8665
square
#403B86 #863B5B #81863B #3B8665
split-complementary
#403B86 #86653B #5B863B
monochromatic
#171631 #2C285C #403B86 #544EB0 #7D78C4

Accessibility & contrast

On white

9.60
#403B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#403B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B86
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B86#FFFFFF#000000##FFFFFF
##403B861.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#074284
Tritanopia (blue-blind)
#254C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403b86;
/* rgb */ color: rgb(64, 59, 134);
/* oklch */ color: oklch(40.0% 0.122 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b71aa',
    500: '#403b86',
    950: '#000000',
  },
}
SCSS
$custom: #403b86;
$custom-light: #7b71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#403b86",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 244,
    "s": 38.86,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.12152,
    "h": 282.4
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#403B86
secondary
#A9AD70
accent
#CF59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403B86

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

Preview Lab → · Contrast checker → · Palette generator →

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