#5E50E1#5E50E1

#5E50E1 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.211 H 280.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E50E1
RGBrgb(94, 80, 225)
HSLhsl(246, 71%, 60%)
HSVhsv(246, 64%, 88%)
CMYKcmyk(58.2%, 64.4%, 0%, 11.8%)
CIE-LABlab(43.58, 45.79, -72.10)
CIE-LCHlch(43.58, 85.41, 302.42°)
OKLaboklab(53.29% 0.0396 -0.2075)
OKLCHoklch(53.29% 0.211 280.8)
XYZxyz(21.0711, 13.5518, 72.7250)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50E1 #D3E150
analogous
#508BE1 #5E50E1 #A650E1
triadic
#5E50E1 #E15E50 #50E15E
tetradic
#5E50E1 #E1508B #D3E150 #50E1A6
square
#5E50E1 #E1508B #D3E150 #50E1A6
split-complementary
#5E50E1 #E1A650 #8BE150
monochromatic
#271B9C #3424D0 #5E50E1 #8E84EA #BEB8F3

Accessibility & contrast

On white

5.66
#5E50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E50E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50E1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50E1#FFFFFF#000000##FFFFFF
##5E50E11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e50e1;
/* rgb */ color: rgb(94, 80, 225);
/* oklch */ color: oklch(53.3% 0.211 280.8);
Tailwind
colors: {
  custom: {
    50: '#9882eb',
    500: '#5e50e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e50e1;
$custom-light: #9882eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50e1",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 245.793,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.21122,
    "h": 280.8
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#5E50E1
secondary
#DDE2AA
accent
#ED3ADC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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