#5B50EB#5B50EB

#5B50EB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.224 H 278.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5B50EB
RGBrgb(91, 80, 235)
HSLhsl(244, 79%, 62%)
HSVhsv(244, 66%, 92%)
CMYKcmyk(61.3%, 66%, 0%, 7.8%)
CIE-LABlab(44.17, 48.44, -76.81)
CIE-LCHlch(44.17, 90.80, 302.24°)
OKLaboklab(53.91% 0.0348 -0.2214)
OKLCHoklch(53.91% 0.224 278.9)
XYZxyz(22.1736, 13.9579, 80.1068)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50EB #E0EB50
analogous
#5093EB #5B50EB #A950EB
triadic
#5B50EB #EB5B50 #50EB5B
tetradic
#5B50EB #EB5093 #E0EB50 #50EBA9
square
#5B50EB #EB5093 #E0EB50 #50EBA9
split-complementary
#5B50EB #EBA950 #93EB50
monochromatic
#1F14AD #281AE4 #5B50EB #8E87F1 #C2BEF8

Accessibility & contrast

On white

5.54
#5B50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5B50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50EB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50EB#FFFFFF#000000##FFFFFF
##5B50EB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b50eb;
/* rgb */ color: rgb(91, 80, 235);
/* oklch */ color: oklch(53.9% 0.224 278.9);
Tailwind
colors: {
  custom: {
    50: '#9882f3',
    500: '#5b50eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b50eb;
$custom-light: #9882f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50eb",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 244.258,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.22409,
    "h": 278.9
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#5B50EB
secondary
#E4E8AF
accent
#DC0ACD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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