#5B50E9#5B50E9

#5B50E9 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.222 H 279.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5B50E9
RGBrgb(91, 80, 233)
HSLhsl(244, 78%, 61%)
HSVhsv(244, 66%, 91%)
CMYKcmyk(60.9%, 65.7%, 0%, 8.6%)
CIE-LABlab(44.01, 47.81, -75.95)
CIE-LCHlch(44.01, 89.74, 302.19°)
OKLaboklab(53.74% 0.035 -0.2188)
OKLCHoklch(53.74% 0.222 279.1)
XYZxyz(21.8863, 13.8430, 78.5936)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50E9 #DEE950
analogous
#5092E9 #5B50E9 #A850E9
triadic
#5B50E9 #E95B50 #50E95B
tetradic
#5B50E9 #E95092 #DEE950 #50E9A8
square
#5B50E9 #E95092 #DEE950 #50E9A8
split-complementary
#5B50E9 #E9A850 #92E950
monochromatic
#2015A9 #2A1CE0 #5B50E9 #8E86F0 #C1BDF7

Accessibility & contrast

On white

5.57
#5B50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5B50E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50E9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50E9#FFFFFF#000000##FFFFFF
##5B50E91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b50e9;
/* rgb */ color: rgb(91, 80, 233);
/* oklch */ color: oklch(53.7% 0.222 279.1);
Tailwind
colors: {
  custom: {
    50: '#9882f1',
    500: '#5b50e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b50e9;
$custom-light: #9882f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50e9",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 244.314,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.22163,
    "h": 279.1
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#5B50E9
secondary
#E3E7AE
accent
#DA0CCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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