#5B50E4#5B50E4

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

Color values

HEX#5B50E4
RGBrgb(91, 80, 228)
HSLhsl(244, 73%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.1%, 64.9%, 0%, 10.6%)
CIE-LABlab(43.60, 46.26, -73.79)
CIE-LCHlch(43.60, 87.09, 302.09°)
OKLaboklab(53.32% 0.0356 -0.2125)
OKLCHoklch(53.32% 0.215 279.5)
XYZxyz(21.1822, 13.5613, 74.8851)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50E4 #D9E450
analogous
#508FE4 #5B50E4 #A550E4
triadic
#5B50E4 #E45B50 #50E45B
tetradic
#5B50E4 #E4508F #D9E450 #50E4A5
square
#5B50E4 #E4508F #D9E450 #50E4A5
split-complementary
#5B50E4 #E4A550 #8FE450
monochromatic
#2319A1 #2E21D6 #5B50E4 #8D85EC #BEBAF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B50E4#FFFFFF#000000##FFFFFF
##5B50E41.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)
#006DE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b50e4;
/* rgb */ color: rgb(91, 80, 228);
/* oklch */ color: oklch(53.3% 0.215 279.5);
Tailwind
colors: {
  custom: {
    50: '#9782ee',
    500: '#5b50e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b50e4;
$custom-light: #9782ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50e4",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 244.459,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.21547,
    "h": 279.5
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#5B50E4
secondary
#E0E4AC
accent
#D510C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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