#403B89#403B89

#403B89 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.126 H 282.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#403B89
RGBrgb(64, 59, 137)
HSLhsl(244, 40%, 38%)
HSVhsv(244, 57%, 54%)
CMYKcmyk(53.3%, 56.9%, 0%, 46.3%)
CIE-LABlab(29.47, 24.86, -43.07)
CIE-LCHlch(29.47, 49.73, 300.00°)
OKLaboklab(40.21% 0.0262 -0.1231)
OKLCHoklch(40.21% 0.126 282)
XYZxyz(8.1923, 6.0236, 24.3931)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B89 #84893B
analogous
#3B5D89 #403B89 #673B89
triadic
#403B89 #89403B #3B8940
tetradic
#403B89 #893B5D #84893B #3B8967
square
#403B89 #893B5D #84893B #3B8967
split-complementary
#403B89 #89673B #5D893B
monochromatic
#181633 #2C295E #403B89 #554EB3 #7E79C5

Accessibility & contrast

On white

9.52
#403B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#403B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B89
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B89#FFFFFF#000000##FFFFFF
##403B891.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#224D5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403b89;
/* rgb */ color: rgb(64, 59, 137);
/* oklch */ color: oklch(40.2% 0.126 282.0);
Tailwind
colors: {
  custom: {
    50: '#7b71ac',
    500: '#403b89',
    950: '#000000',
  },
}
SCSS
$custom: #403b89;
$custom-light: #7b71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#403b89",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 243.846,
    "s": 39.796,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.12589,
    "h": 282
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#403B89
secondary
#ABAF71
accent
#D058C8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403B89

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

Preview Lab → · Contrast checker → · Palette generator →

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