#5E4AD5#5E4AD5

#5E4AD5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.4% C 0.203 H 283.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5E4AD5
RGBrgb(94, 74, 213)
HSLhsl(249, 62%, 56%)
HSVhsv(249, 65%, 84%)
CMYKcmyk(55.9%, 65.3%, 0%, 16.5%)
CIE-LABlab(41.34, 45.55, -68.90)
CIE-LCHlch(41.34, 82.59, 303.47°)
OKLaboklab(51.37% 0.0462 -0.1981)
OKLCHoklch(51.37% 0.203 283.1)
XYZxyz(19.0714, 12.0802, 64.2646)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AD5 #C1D54A
analogous
#4A7CD5 #5E4AD5 #A44AD5
triadic
#5E4AD5 #D55E4A #4AD55E
tetradic
#5E4AD5 #D54A7C #C1D54A #4AD5A4
square
#5E4AD5 #D54A7C #C1D54A #4AD5A4
split-complementary
#5E4AD5 #D5A44A #7CD54A
monochromatic
#2E1F86 #3F2BB7 #5E4AD5 #8A7CE1 #B6ADEC

Accessibility & contrast

On white

6.15
#5E4AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E4AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AD5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AD5#FFFFFF#000000##FFFFFF
##5E4AD51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#226D89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e4ad5;
/* rgb */ color: rgb(94, 74, 213);
/* oklch */ color: oklch(51.4% 0.203 283.1);
Tailwind
colors: {
  custom: {
    50: '#977ee3',
    500: '#5e4ad5',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ad5;
$custom-light: #977ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ad5",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 248.633,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.2034,
    "h": 283.1
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#5E4AD5
secondary
#D2DAA1
accent
#E542CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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