#5E4DE4#5E4DE4

#5E4DE4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.218 H 281.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5E4DE4
RGBrgb(94, 77, 228)
HSLhsl(247, 74%, 60%)
HSVhsv(247, 66%, 89%)
CMYKcmyk(58.8%, 66.2%, 0%, 10.6%)
CIE-LABlab(43.19, 48.41, -74.44)
CIE-LCHlch(43.19, 88.80, 303.04°)
OKLaboklab(53.08% 0.0418 -0.2143)
OKLCHoklch(53.08% 0.218 281)
XYZxyz(21.2692, 13.2874, 74.8277)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DE4 #D3E44D
analogous
#4D88E4 #5E4DE4 #AA4DE4
triadic
#5E4DE4 #E45E4D #4DE45E
tetradic
#5E4DE4 #E44D88 #D3E44D #4DE4AA
square
#5E4DE4 #E44D88 #D3E44D #4DE4AA
split-complementary
#5E4DE4 #E4AA4D #88E44D
monochromatic
#27189F #3420D4 #5E4DE4 #8E82EC #BEB7F4

Accessibility & contrast

On white

5.74
#5E4DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5E4DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DE4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DE4#FFFFFF#000000##FFFFFF
##5E4DE41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4de4;
/* rgb */ color: rgb(94, 77, 228);
/* oklch */ color: oklch(53.1% 0.218 281.0);
Tailwind
colors: {
  custom: {
    50: '#9980ee',
    500: '#5e4de4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4de4;
$custom-light: #9980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4de4",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 228
  },
  "hsl": {
    "h": 246.755,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.21838,
    "h": 281
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#5E4DE4
secondary
#DDE4A9
accent
#F037DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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