#5E4AE3#5E4AE3

#5E4AE3 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.221 H 281.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE3
RGBrgb(94, 74, 227)
HSLhsl(248, 73%, 59%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58.6%, 67.4%, 0%, 11%)
CIE-LABlab(42.49, 49.79, -75.01)
CIE-LCHlch(42.49, 90.03, 303.57°)
OKLaboklab(52.55% 0.0444 -0.216)
OKLCHoklch(52.55% 0.221 281.6)
XYZxyz(20.9257, 12.8219, 74.0303)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE3 #CFE34A
analogous
#4A83E3 #5E4AE3 #AB4AE3
triadic
#5E4AE3 #E35E4A #4AE35E
tetradic
#5E4AE3 #E34A83 #CFE34A #4AE3AB
square
#5E4AE3 #E34A83 #CFE34A #4AE3AB
split-complementary
#5E4AE3 #E3AB4A #83E34A
monochromatic
#29189B #3720D0 #5E4AE3 #8D7FEB #BCB4F3

Accessibility & contrast

On white

5.89
#5E4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5E4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE3#FFFFFF#000000##FFFFFF
##5E4AE31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4ae3;
/* rgb */ color: rgb(94, 74, 227);
/* oklch */ color: oklch(52.6% 0.221 281.6);
Tailwind
colors: {
  custom: {
    50: '#997eed',
    500: '#5e4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae3;
$custom-light: #997eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae3",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 247.843,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.22054,
    "h": 281.6
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#5E4AE3
secondary
#DBE2A6
accent
#F038D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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