#5E4AE4#5E4AE4

#5E4AE4 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.222 H 281.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE4
RGBrgb(94, 74, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(58.8%, 67.5%, 0%, 10.6%)
CIE-LABlab(42.58, 50.09, -75.44)
CIE-LCHlch(42.58, 90.56, 303.58°)
OKLaboklab(52.64% 0.0442 -0.2173)
OKLCHoklch(52.64% 0.222 281.5)
XYZxyz(21.0641, 12.8772, 74.7593)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE4 #D0E44A
analogous
#4A83E4 #5E4AE4 #AB4AE4
triadic
#5E4AE4 #E45E4A #4AE45E
tetradic
#5E4AE4 #E44A83 #D0E44A #4AE4AB
square
#5E4AE4 #E44A83 #D0E44A #4AE4AB
split-complementary
#5E4AE4 #E4AB4A #83E44A
monochromatic
#29179C #361FD2 #5E4AE4 #8D7FEC #BDB5F4

Accessibility & contrast

On white

5.87
#5E4AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E4AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE4#FFFFFF#000000##FFFFFF
##5E4AE41.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4ae4;
/* rgb */ color: rgb(94, 74, 228);
/* oklch */ color: oklch(52.6% 0.222 281.5);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5e4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae4;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae4",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 247.792,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.22174,
    "h": 281.5
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#5E4AE4
secondary
#DBE3A7
accent
#F137D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

#5E4AE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva