#5E4AE7#5E4AE7

#5E4AE7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.225 H 281.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE7
RGBrgb(94, 74, 231)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.3%, 68%, 0%, 9.4%)
CIE-LABlab(42.83, 50.99, -76.73)
CIE-LCHlch(42.83, 92.13, 303.61°)
OKLaboklab(52.9% 0.0438 -0.2211)
OKLCHoklch(52.9% 0.225 281.2)
XYZxyz(21.4842, 13.0453, 76.9717)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE7 #D3E74A
analogous
#4A85E7 #5E4AE7 #AC4AE7
triadic
#5E4AE7 #E75E4A #4AE75E
tetradic
#5E4AE7 #E74A85 #D3E74A #4AE7AC
square
#5E4AE7 #E74A85 #D3E74A #4AE7AC
split-complementary
#5E4AE7 #E7AC4A #85E74A
monochromatic
#2715A1 #341DD7 #5E4AE7 #8E80EE #BEB6F5

Accessibility & contrast

On white

5.82
#5E4AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5E4AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE7#FFFFFF#000000##FFFFFF
##5E4AE71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4ae7;
/* rgb */ color: rgb(94, 74, 231);
/* oklch */ color: oklch(52.9% 0.225 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ef0',
    500: '#5e4ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae7;
$custom-light: #9a7ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae7",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 247.643,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.529,
    "c": 0.22535,
    "h": 281.2
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#5E4AE7
secondary
#DDE5A8
accent
#F335DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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