#5E4AE1#5E4AE1

#5E4AE1 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.218 H 281.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE1
RGBrgb(94, 74, 225)
HSLhsl(248, 72%, 59%)
HSVhsv(248, 67%, 88%)
CMYKcmyk(58.2%, 67.1%, 0%, 11.8%)
CIE-LABlab(42.33, 49.18, -74.15)
CIE-LCHlch(42.33, 88.98, 303.56°)
OKLaboklab(52.38% 0.0446 -0.2135)
OKLCHoklch(52.38% 0.218 281.8)
XYZxyz(20.6512, 12.7121, 72.5850)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE1 #CDE14A
analogous
#4A81E1 #5E4AE1 #A94AE1
triadic
#5E4AE1 #E15E4A #4AE15E
tetradic
#5E4AE1 #E14A81 #CDE14A #4AE1A9
square
#5E4AE1 #E14A81 #CDE14A #4AE1A9
split-complementary
#5E4AE1 #E1A94A #81E14A
monochromatic
#2A1997 #3822CC #5E4AE1 #8D7EEA #BBB3F2

Accessibility & contrast

On white

5.93
#5E4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5E4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE1#FFFFFF#000000##FFFFFF
##5E4AE11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#02718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4ae1;
/* rgb */ color: rgb(94, 74, 225);
/* oklch */ color: oklch(52.4% 0.218 281.8);
Tailwind
colors: {
  custom: {
    50: '#997eec',
    500: '#5e4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae1;
$custom-light: #997eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae1",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 247.947,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.21811,
    "h": 281.8
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#5E4AE1
secondary
#D9E1A6
accent
#EE39D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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