#403AD9#403AD9

#403AD9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.231 H 274.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#403AD9
RGBrgb(64, 58, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 73%, 85%)
CMYKcmyk(70.5%, 73.3%, 0%, 14.9%)
CIE-LABlab(36.22, 51.83, -79.69)
CIE-LCHlch(36.22, 95.06, 303.04°)
OKLaboklab(47.24% 0.0186 -0.2304)
OKLCHoklch(47.24% 0.231 274.6)
XYZxyz(16.1476, 9.1243, 66.5424)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AD9 #D3D93A
analogous
#3A84D9 #403AD9 #903AD9
triadic
#403AD9 #D9403A #3AD940
tetradic
#403AD9 #D93A84 #D3D93A #3AD990
square
#403AD9 #D93A84 #D3D93A #3AD990
split-complementary
#403AD9 #D9903A #84D93A
monochromatic
#1D1980 #2823B3 #403AD9 #726DE3 #A3A1ED

Accessibility & contrast

On white

7.43
#403AD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#403AD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AD9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AD9#FFFFFF#000000##FFFFFF
##403AD91.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004ED6
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403ad9;
/* rgb */ color: rgb(64, 58, 217);
/* oklch */ color: oklch(47.2% 0.231 274.6);
Tailwind
colors: {
  custom: {
    50: '#8a72e6',
    500: '#403ad9',
    950: '#000000',
  },
}
SCSS
$custom: #403ad9;
$custom-light: #8a72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#403ad9",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 242.264,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.23119,
    "h": 274.6
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#403AD9
secondary
#D7D995
accent
#EB3DE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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