#403B9A#403B9A

#403B9A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.150 H 280.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#403B9A
RGBrgb(64, 59, 154)
HSLhsl(243, 45%, 42%)
HSVhsv(243, 62%, 60%)
CMYKcmyk(58.4%, 61.7%, 0%, 39.6%)
CIE-LABlab(30.76, 30.56, -51.41)
CIE-LCHlch(30.76, 59.81, 300.73°)
OKLaboklab(41.57% 0.026 -0.1477)
OKLCHoklch(41.57% 0.15 280)
XYZxyz(9.5092, 6.5504, 31.3288)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B9A #959A3B
analogous
#3B669A #403B9A #703B9A
triadic
#403B9A #9A403B #3B9A40
tetradic
#403B9A #9A3B66 #959A3B #3B9A70
square
#403B9A #9A3B66 #959A3B #3B9A70
split-complementary
#403B9A #9A703B #669A3B
monochromatic
#1B1942 #2E2A6E #403B9A #5A55BE #8581CF

Accessibility & contrast

On white

9.09
#403B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#403B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B9A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B9A#FFFFFF#000000##FFFFFF
##403B9A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#0B5264
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403b9a;
/* rgb */ color: rgb(64, 59, 154);
/* oklch */ color: oklch(41.6% 0.150 280.0);
Tailwind
colors: {
  custom: {
    50: '#7e71b8',
    500: '#403b9a',
    950: '#000000',
  },
}
SCSS
$custom: #403b9a;
$custom-light: #7e71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#403b9a",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 243.158,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.14995,
    "h": 280
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#403B9A
secondary
#B5B878
accent
#D453CE
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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