#403AE1#403AE1

#403AE1 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.241 H 274.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#403AE1
RGBrgb(64, 58, 225)
HSLhsl(242, 74%, 55%)
HSVhsv(242, 74%, 88%)
CMYKcmyk(71.6%, 74.2%, 0%, 11.8%)
CIE-LABlab(37.02, 54.34, -82.95)
CIE-LCHlch(37.02, 99.16, 303.23°)
OKLaboklab(48.05% 0.0171 -0.2399)
OKLCHoklch(48.05% 0.241 274.1)
XYZxyz(17.2135, 9.5506, 72.1558)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AE1 #DBE13A
analogous
#3A87E1 #403AE1 #943AE1
triadic
#403AE1 #E1403A #3AE140
tetradic
#403AE1 #E13A87 #DBE13A #3AE194
square
#403AE1 #E13A87 #DBE13A #3AE194
split-complementary
#403AE1 #E1943A #87E13A
monochromatic
#19158B #231DC0 #403AE1 #736FE9 #A7A4F1

Accessibility & contrast

On white

7.22
#403AE1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#403AE1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AE1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AE1#FFFFFF#000000##FFFFFF
##403AE11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE6
Deuteranopia (green-blind)
#004FDE
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #403ae1;
/* rgb */ color: rgb(64, 58, 225);
/* oklch */ color: oklch(48.0% 0.241 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c73ec',
    500: '#403ae1',
    950: '#000000',
  },
}
SCSS
$custom: #403ae1;
$custom-light: #8c73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#403ae1",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 225
  },
  "hsl": {
    "h": 242.156,
    "s": 73.568,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.24055,
    "h": 274.1
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#403AE1
secondary
#DCDE99
accent
#F038EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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