#5B50E1#5B50E1

#5B50E1 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.212 H 279.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B50E1
RGBrgb(91, 80, 225)
HSLhsl(245, 71%, 60%)
HSVhsv(245, 64%, 88%)
CMYKcmyk(59.6%, 64.4%, 0%, 11.8%)
CIE-LABlab(43.35, 45.32, -72.48)
CIE-LCHlch(43.35, 85.48, 302.02°)
OKLaboklab(53.07% 0.0359 -0.2087)
OKLCHoklch(53.07% 0.212 279.8)
XYZxyz(20.7693, 13.3962, 72.7108)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50E1 #D6E150
analogous
#508DE1 #5B50E1 #A450E1
triadic
#5B50E1 #E15B50 #50E15B
tetradic
#5B50E1 #E1508D #D6E150 #50E1A4
square
#5B50E1 #E1508D #D6E150 #50E1A4
split-complementary
#5B50E1 #E1A450 #8DE150
monochromatic
#251B9C #3124D0 #5B50E1 #8C84EA #BDB8F3

Accessibility & contrast

On white

5.71
#5B50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B50E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50E1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50E1#FFFFFF#000000##FFFFFF
##5B50E11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b50e1;
/* rgb */ color: rgb(91, 80, 225);
/* oklch */ color: oklch(53.1% 0.212 279.8);
Tailwind
colors: {
  custom: {
    50: '#9782eb',
    500: '#5b50e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b50e1;
$custom-light: #9782eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50e1",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 244.552,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.21174,
    "h": 279.8
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#5B50E1
secondary
#DEE2AA
accent
#ED3AE0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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