#403AE3#403AE3

#403AE3 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.2% C 0.243 H 273.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#403AE3
RGBrgb(64, 58, 227)
HSLhsl(242, 75%, 56%)
HSVhsv(242, 74%, 89%)
CMYKcmyk(71.8%, 74.4%, 0%, 11%)
CIE-LABlab(37.23, 54.96, -83.76)
CIE-LCHlch(37.23, 100.18, 303.27°)
OKLaboklab(48.25% 0.0167 -0.2423)
OKLCHoklch(48.25% 0.243 273.9)
XYZxyz(17.4879, 9.6604, 73.6012)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AE3 #DDE33A
analogous
#3A88E3 #403AE3 #943AE3
triadic
#403AE3 #E3403A #3AE340
tetradic
#403AE3 #E33A88 #DDE33A #3AE394
square
#403AE3 #E33A88 #DDE33A #3AE394
split-complementary
#403AE3 #E3943A #88E33A
monochromatic
#19148E #221CC4 #403AE3 #7470EB #A8A5F2

Accessibility & contrast

On white

7.16
#403AE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#403AE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AE3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AE3#FFFFFF#000000##FFFFFF
##403AE31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE8
Deuteranopia (green-blind)
#0050E0
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403ae3;
/* rgb */ color: rgb(64, 58, 227);
/* oklch */ color: oklch(48.2% 0.243 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d73ed',
    500: '#403ae3',
    950: '#000000',
  },
}
SCSS
$custom: #403ae3;
$custom-light: #8d73ed;
$custom-dark: #000000;
JSON
{
  "hex": "#403ae3",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 227
  },
  "hsl": {
    "h": 242.13,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.24286,
    "h": 273.9
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#403AE3
secondary
#DDDF99
accent
#F236EB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #403AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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