#403AE0#403AE0

#403AE0 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.9% C 0.239 H 274.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#403AE0
RGBrgb(64, 58, 224)
HSLhsl(242, 73%, 55%)
HSVhsv(242, 74%, 88%)
CMYKcmyk(71.4%, 74.1%, 0%, 12.2%)
CIE-LABlab(36.92, 54.03, -82.54)
CIE-LCHlch(36.92, 98.65, 303.21°)
OKLaboklab(47.94% 0.0173 -0.2388)
OKLCHoklch(47.94% 0.239 274.1)
XYZxyz(17.0775, 9.4962, 71.4395)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403AE0 #DAE03A
analogous
#3A87E0 #403AE0 #933AE0
triadic
#403AE0 #E0403A #3AE040
tetradic
#403AE0 #E03A87 #DAE03A #3AE093
square
#403AE0 #E03A87 #DAE03A #3AE093
split-complementary
#403AE0 #E0933A #87E03A
monochromatic
#1A168A #241EBF #403AE0 #736FE8 #A7A4F1

Accessibility & contrast

On white

7.24
#403AE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#403AE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403AE0
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403AE0#FFFFFF#000000##FFFFFF
##403AE01.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE5
Deuteranopia (green-blind)
#004FDD
Tritanopia (blue-blind)
#006A8A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #403ae0;
/* rgb */ color: rgb(64, 58, 224);
/* oklch */ color: oklch(47.9% 0.239 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c73eb',
    500: '#403ae0',
    950: '#000000',
  },
}
SCSS
$custom: #403ae0;
$custom-light: #8c73eb;
$custom-dark: #000000;
JSON
{
  "hex": "#403ae0",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 224
  },
  "hsl": {
    "h": 242.169,
    "s": 72.807,
    "l": 55.294
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.23938,
    "h": 274.1
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#403AE0
secondary
#DBDE98
accent
#EF38E9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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