#5B50EA#5B50EA

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

Color values

HEX#5B50EA
RGBrgb(91, 80, 234)
HSLhsl(244, 79%, 62%)
HSVhsv(244, 66%, 92%)
CMYKcmyk(61.1%, 65.8%, 0%, 8.2%)
CIE-LABlab(44.09, 48.13, -76.38)
CIE-LCHlch(44.09, 90.27, 302.22°)
OKLaboklab(53.83% 0.0349 -0.2201)
OKLCHoklch(53.83% 0.223 279)
XYZxyz(22.0296, 13.9003, 79.3481)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50EA #DFEA50
analogous
#5092EA #5B50EA #A850EA
triadic
#5B50EA #EA5B50 #50EA5B
tetradic
#5B50EA #EA5092 #DFEA50 #50EAA8
square
#5B50EA #EA5092 #DFEA50 #50EAA8
split-complementary
#5B50EA #EAA850 #92EA50
monochromatic
#1F15AB #291BE2 #5B50EA #8E87F1 #C1BDF7

Accessibility & contrast

On white

5.55
#5B50EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B50EA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50EA#FFFFFF#000000##FFFFFF
##5B50EA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b50ea;
/* rgb */ color: rgb(91, 80, 234);
/* oklch */ color: oklch(53.8% 0.223 279.0);
Tailwind
colors: {
  custom: {
    50: '#9882f2',
    500: '#5b50ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b50ea;
$custom-light: #9882f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50ea",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 244.286,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.22286,
    "h": 279
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#5B50EA
secondary
#E3E8AE
accent
#DB0BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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