#5E50E7#5E50E7

#5E50E7 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.219 H 280.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5E50E7
RGBrgb(94, 80, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(59.3%, 65.4%, 0%, 9.4%)
CIE-LABlab(44.07, 47.64, -74.71)
CIE-LCHlch(44.07, 88.60, 302.52°)
OKLaboklab(53.79% 0.039 -0.2151)
OKLCHoklch(53.79% 0.219 280.3)
XYZxyz(21.9040, 13.8850, 77.1116)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50E7 #D9E750
analogous
#508DE7 #5E50E7 #A950E7
triadic
#5E50E7 #E75E50 #50E75E
tetradic
#5E50E7 #E7508D #D9E750 #50E7A9
square
#5E50E7 #E7508D #D9E750 #50E7A9
split-complementary
#5E50E7 #E7A950 #8DE750
monochromatic
#2417A6 #301EDC #5E50E7 #9086EE #C1BCF6

Accessibility & contrast

On white

5.56
#5E50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5E50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50E7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50E7#FFFFFF#000000##FFFFFF
##5E50E71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e50e7;
/* rgb */ color: rgb(94, 80, 231);
/* oklch */ color: oklch(53.8% 0.219 280.3);
Tailwind
colors: {
  custom: {
    50: '#9982f0',
    500: '#5e50e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e50e7;
$custom-light: #9982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50e7",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 245.563,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.21863,
    "h": 280.3
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#5E50E7
secondary
#E1E6AD
accent
#D80DC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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