#403B96#403B96

#403B96 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.144 H 280.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#403B96
RGBrgb(64, 59, 150)
HSLhsl(243, 44%, 41%)
HSVhsv(243, 61%, 59%)
CMYKcmyk(57.3%, 60.7%, 0%, 41.2%)
CIE-LABlab(30.45, 29.22, -49.49)
CIE-LCHlch(30.45, 57.47, 300.56°)
OKLaboklab(41.24% 0.0262 -0.142)
OKLCHoklch(41.24% 0.144 280.4)
XYZxyz(9.1816, 6.4193, 29.6035)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B96 #91963B
analogous
#3B6396 #403B96 #6D3B96
triadic
#403B96 #96403B #3B9640
tetradic
#403B96 #963B63 #91963B #3B966D
square
#403B96 #963B63 #91963B #3B966D
split-complementary
#403B96 #966D3B #63963B
monochromatic
#1B183E #2D2A6A #403B96 #5953BB #837FCD

Accessibility & contrast

On white

9.19
#403B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#403B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B96
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B96#FFFFFF#000000##FFFFFF
##403B961.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#135162
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403b96;
/* rgb */ color: rgb(64, 59, 150);
/* oklch */ color: oklch(41.2% 0.144 280.4);
Tailwind
colors: {
  custom: {
    50: '#7d71b6',
    500: '#403b96',
    950: '#000000',
  },
}
SCSS
$custom: #403b96;
$custom-light: #7d71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#403b96",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 243.297,
    "s": 43.541,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.1444,
    "h": 280.4
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#403B96
secondary
#B3B677
accent
#D355CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B96

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

Preview Lab → · Contrast checker → · Palette generator →

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