#403B99#403B99

#403B99 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.149 H 280.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#403B99
RGBrgb(64, 59, 153)
HSLhsl(243, 44%, 42%)
HSVhsv(243, 61%, 60%)
CMYKcmyk(58.2%, 61.4%, 0%, 40%)
CIE-LABlab(30.68, 30.23, -50.93)
CIE-LCHlch(30.68, 59.23, 300.69°)
OKLaboklab(41.48% 0.0261 -0.1463)
OKLCHoklch(41.48% 0.149 280.1)
XYZxyz(9.4263, 6.5172, 30.8920)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B99 #94993B
analogous
#3B6599 #403B99 #6F3B99
triadic
#403B99 #99403B #3B9940
tetradic
#403B99 #993B65 #94993B #3B996F
square
#403B99 #993B65 #94993B #3B996F
split-complementary
#403B99 #996F3B #65993B
monochromatic
#1B1941 #2E2A6D #403B99 #5A54BD #8480CE

Accessibility & contrast

On white

9.12
#403B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#403B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B99
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B99#FFFFFF#000000##FFFFFF
##403B991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#0D5264
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403b99;
/* rgb */ color: rgb(64, 59, 153);
/* oklch */ color: oklch(41.5% 0.149 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e71b8',
    500: '#403b99',
    950: '#000000',
  },
}
SCSS
$custom: #403b99;
$custom-light: #7e71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#403b99",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 243.191,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.14858,
    "h": 280.1
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#403B99
secondary
#B4B878
accent
#D454CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #403B99

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

Preview Lab → · Contrast checker → · Palette generator →

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