#5E4AE8#5E4AE8

#5E4AE8 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.227 H 281.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE8
RGBrgb(94, 74, 232)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.5%, 68.1%, 0%, 9%)
CIE-LABlab(42.92, 51.29, -77.16)
CIE-LCHlch(42.92, 92.65, 303.62°)
OKLaboklab(52.99% 0.0436 -0.2223)
OKLCHoklch(52.99% 0.227 281.1)
XYZxyz(21.6258, 13.1019, 77.7176)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE8 #D4E84A
analogous
#4A85E8 #5E4AE8 #AD4AE8
triadic
#5E4AE8 #E85E4A #4AE85E
tetradic
#5E4AE8 #E84A85 #D4E84A #4AE8AD
square
#5E4AE8 #E84A85 #D4E84A #4AE8AD
split-complementary
#5E4AE8 #E8AD4A #85E84A
monochromatic
#2715A3 #341CD9 #5E4AE8 #8E80EF #BFB7F6

Accessibility & contrast

On white

5.80
#5E4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5E4AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE8#FFFFFF#000000##FFFFFF
##5E4AE81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4ae8;
/* rgb */ color: rgb(94, 74, 232);
/* oklch */ color: oklch(53.0% 0.227 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a7ef1',
    500: '#5e4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae8;
$custom-light: #9a7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae8",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 247.595,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.22655,
    "h": 281.1
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#5E4AE8
secondary
#DEE5A8
accent
#F434DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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