#5B50E7#5B50E7

#5B50E7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.219 H 279.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5B50E7
RGBrgb(91, 80, 231)
HSLhsl(244, 76%, 61%)
HSVhsv(244, 65%, 91%)
CMYKcmyk(60.6%, 65.4%, 0%, 9.4%)
CIE-LABlab(43.84, 47.19, -75.08)
CIE-LCHlch(43.84, 88.68, 302.15°)
OKLaboklab(53.57% 0.0352 -0.2163)
OKLCHoklch(53.57% 0.219 279.3)
XYZxyz(21.6023, 13.7294, 77.0975)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50E7 #DCE750
analogous
#5090E7 #5B50E7 #A650E7
triadic
#5B50E7 #E75B50 #50E75B
tetradic
#5B50E7 #E75090 #DCE750 #50E7A6
square
#5B50E7 #E75090 #DCE750 #50E7A6
split-complementary
#5B50E7 #E7A650 #90E750
monochromatic
#2117A6 #2C1EDC #5B50E7 #8D86EE #C0BCF6

Accessibility & contrast

On white

5.61
#5B50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5B50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50E7#FFFFFF#000000##FFFFFF
##5B50E71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b50e7;
/* rgb */ color: rgb(91, 80, 231);
/* oklch */ color: oklch(53.6% 0.219 279.3);
Tailwind
colors: {
  custom: {
    50: '#9882f0',
    500: '#5b50e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b50e7;
$custom-light: #9882f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50e7",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 244.371,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.21917,
    "h": 279.3
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#5B50E7
secondary
#E2E6AD
accent
#D80DC9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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