#5E4BE4#5E4BE4

#5E4BE4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.221 H 281.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5E4BE4
RGBrgb(94, 75, 228)
HSLhsl(247, 74%, 59%)
HSVhsv(247, 67%, 89%)
CMYKcmyk(58.8%, 67.1%, 0%, 10.6%)
CIE-LABlab(42.78, 49.53, -75.11)
CIE-LCHlch(42.78, 89.97, 303.40°)
OKLaboklab(52.79% 0.0434 -0.2163)
OKLCHoklch(52.79% 0.221 281.3)
XYZxyz(21.1314, 13.0118, 74.7817)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BE4 #D1E44B
analogous
#4B85E4 #5E4BE4 #AB4BE4
triadic
#5E4BE4 #E45E4B #4BE45E
tetradic
#5E4BE4 #E44B85 #D1E44B #4BE4AB
square
#5E4BE4 #E44B85 #D1E44B #4BE4AB
split-complementary
#5E4BE4 #E4AB4B #85E44B
monochromatic
#28189D #3620D2 #5E4BE4 #8E80EC #BDB5F4

Accessibility & contrast

On white

5.83
#5E4BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E4BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BE4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BE4#FFFFFF#000000##FFFFFF
##5E4BE41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4be4;
/* rgb */ color: rgb(94, 75, 228);
/* oklch */ color: oklch(52.8% 0.221 281.3);
Tailwind
colors: {
  custom: {
    50: '#997fee',
    500: '#5e4be4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4be4;
$custom-light: #997fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4be4",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 247.451,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.22063,
    "h": 281.3
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#5E4BE4
secondary
#DCE3A8
accent
#F137DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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