#403AEA#403AEA

#403AEA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 49.0% C 0.251 H 273.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#403AEA
RGBrgb(64, 58, 234)
HSLhsl(242, 81%, 57%)
HSVhsv(242, 75%, 92%)
CMYKcmyk(72.6%, 75.2%, 0%, 8.2%)
CIE-LABlab(37.94, 57.13, -86.56)
CIE-LCHlch(37.94, 103.71, 303.42°)
OKLaboklab(48.96% 0.0153 -0.2504)
OKLCHoklch(48.96% 0.251 273.5)
XYZxyz(18.4737, 10.0547, 78.7931)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AEA #E4EA3A
analogous
#3A8CEA #403AEA #983AEA
triadic
#403AEA #EA403A #3AEA40
tetradic
#403AEA #EA3A8C #E4EA3A #3AEA98
square
#403AEA #EA3A8C #E4EA3A #3AEA98
split-complementary
#403AEA #EA983A #8CEA3A
monochromatic
#151099 #1D16D1 #403AEA #7671F0 #ABA9F6

Accessibility & contrast

On white

6.97
#403AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#403AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403AEA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AEA#FFFFFF#000000##FFFFFF
##403AEA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0051E7
Tritanopia (blue-blind)
#006E90
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #403aea;
/* rgb */ color: rgb(64, 58, 234);
/* oklch */ color: oklch(49.0% 0.251 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e73f2',
    500: '#403aea',
    950: '#000000',
  },
}
SCSS
$custom: #403aea;
$custom-light: #8e73f2;
$custom-dark: #000000;
JSON
{
  "hex": "#403aea",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 234
  },
  "hsl": {
    "h": 242.045,
    "s": 80.734,
    "l": 57.255
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.2509,
    "h": 273.5
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#403AEA
secondary
#E1E49C
accent
#F731F0
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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