#403A96#403A96

#403A96 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.146 H 280.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#403A96
RGBrgb(64, 58, 150)
HSLhsl(244, 44%, 41%)
HSVhsv(244, 61%, 59%)
CMYKcmyk(57.3%, 61.3%, 0%, 41.2%)
CIE-LABlab(30.20, 29.86, -49.89)
CIE-LCHlch(30.20, 58.14, 300.90°)
OKLaboklab(41.06% 0.0272 -0.1432)
OKLCHoklch(41.06% 0.146 280.8)
XYZxyz(9.1307, 6.3175, 29.5865)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A96 #90963A
analogous
#3A6296 #403A96 #6E3A96
triadic
#403A96 #96403A #3A9640
tetradic
#403A96 #963A62 #90963A #3A966E
square
#403A96 #963A62 #90963A #3A966E
split-complementary
#403A96 #966E3A #62963A
monochromatic
#1A183E #2D296A #403A96 #5851BC #837DCD

Accessibility & contrast

On white

9.28
#403A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#403A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A96
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A96#FFFFFF#000000##FFFFFF
##403A961.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#135062
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403a96;
/* rgb */ color: rgb(64, 58, 150);
/* oklch */ color: oklch(41.1% 0.146 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d70b6',
    500: '#403a96',
    950: '#000000',
  },
}
SCSS
$custom: #403a96;
$custom-light: #7d70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#403a96",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 243.913,
    "s": 44.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.14575,
    "h": 280.8
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#403A96
secondary
#B2B675
accent
#D454CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403A96

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

Preview Lab → · Contrast checker → · Palette generator →

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