#5E4BE1#5E4BE1

#5E4BE1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.217 H 281.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5E4BE1
RGBrgb(94, 75, 225)
HSLhsl(248, 71%, 59%)
HSVhsv(248, 67%, 88%)
CMYKcmyk(58.2%, 66.7%, 0%, 11.8%)
CIE-LABlab(42.53, 48.62, -73.82)
CIE-LCHlch(42.53, 88.39, 303.37°)
OKLaboklab(52.53% 0.0438 -0.2125)
OKLCHoklch(52.53% 0.217 281.7)
XYZxyz(20.7185, 12.8467, 72.6075)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BE1 #CEE14B
analogous
#4B83E1 #5E4BE1 #A94BE1
triadic
#5E4BE1 #E15E4B #4BE15E
tetradic
#5E4BE1 #E14B83 #CEE14B #4BE1A9
square
#5E4BE1 #E14B83 #CEE14B #4BE1A9
split-complementary
#5E4BE1 #E1A94B #83E14B
monochromatic
#291998 #3822CD #5E4BE1 #8D7FEA #BCB4F2

Accessibility & contrast

On white

5.88
#5E4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5E4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BE1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BE1#FFFFFF#000000##FFFFFF
##5E4BE11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#027290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4be1;
/* rgb */ color: rgb(94, 75, 225);
/* oklch */ color: oklch(52.5% 0.217 281.7);
Tailwind
colors: {
  custom: {
    50: '#987fec',
    500: '#5e4be1',
    950: '#000000',
  },
}
SCSS
$custom: #5e4be1;
$custom-light: #987fec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4be1",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 247.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.21699,
    "h": 281.7
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#5E4BE1
secondary
#DAE1A6
accent
#EE3AD7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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