#5E4AE5#5E4AE5

#5E4AE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.223 H 281.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE5
RGBrgb(94, 74, 229)
HSLhsl(248, 75%, 59%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(59%, 67.7%, 0%, 10.2%)
CIE-LABlab(42.66, 50.39, -75.87)
CIE-LCHlch(42.66, 91.08, 303.59°)
OKLaboklab(52.73% 0.0441 -0.2185)
OKLCHoklch(52.73% 0.223 281.4)
XYZxyz(21.2033, 12.9329, 75.4925)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE5 #D1E54A
analogous
#4A84E5 #5E4AE5 #AC4AE5
triadic
#5E4AE5 #E55E4A #4AE55E
tetradic
#5E4AE5 #E54A84 #D1E54A #4AE5AC
square
#5E4AE5 #E54A84 #D1E54A #4AE5AC
split-complementary
#5E4AE5 #E5AC4A #84E54A
monochromatic
#28179E #361ED3 #5E4AE5 #8E80ED #BDB5F4

Accessibility & contrast

On white

5.85
#5E4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE5#FFFFFF#000000##FFFFFF
##5E4AE51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4ae5;
/* rgb */ color: rgb(94, 74, 229);
/* oklch */ color: oklch(52.7% 0.223 281.4);
Tailwind
colors: {
  custom: {
    50: '#997eee',
    500: '#5e4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae5;
$custom-light: #997eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae5",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 247.742,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.22295,
    "h": 281.4
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#5E4AE5
secondary
#DCE4A7
accent
#F136D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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