#403AC9#403AC9

#403AC9 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.212 H 275.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#403AC9
RGBrgb(64, 58, 201)
HSLhsl(243, 57%, 51%)
HSVhsv(243, 71%, 79%)
CMYKcmyk(68.2%, 71.1%, 0%, 21.2%)
CIE-LABlab(34.66, 46.72, -72.99)
CIE-LCHlch(34.66, 86.66, 302.62°)
OKLaboklab(45.66% 0.0214 -0.2109)
OKLCHoklch(45.66% 0.212 275.8)
XYZxyz(14.1666, 8.3319, 56.1087)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AC9 #C3C93A
analogous
#3A7CC9 #403AC9 #873AC9
triadic
#403AC9 #C9403A #3AC940
tetradic
#403AC9 #C93A7C #C3C93A #3AC987
square
#403AC9 #C93A7C #C3C93A #3AC987
split-complementary
#403AC9 #C9873A #7CC93A
monochromatic
#211D6B #2F2B9B #403AC9 #6F6AD6 #9D9AE3

Accessibility & contrast

On white

7.88
#403AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#403AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AC9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AC9#FFFFFF#000000##FFFFFF
##403AC91.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403ac9;
/* rgb */ color: rgb(64, 58, 201);
/* oklch */ color: oklch(45.7% 0.212 275.8);
Tailwind
colors: {
  custom: {
    50: '#8772db',
    500: '#403ac9',
    950: '#000000',
  },
}
SCSS
$custom: #403ac9;
$custom-light: #8772db;
$custom-dark: #000000;
JSON
{
  "hex": "#403ac9",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 242.517,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.21199,
    "h": 275.8
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#403AC9
secondary
#CCCF90
accent
#E048DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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