#5B50DA#5B50DA

#5B50DA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.203 H 280.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B50DA
RGBrgb(91, 80, 218)
HSLhsl(245, 65%, 58%)
HSVhsv(245, 63%, 85%)
CMYKcmyk(58.3%, 63.3%, 0%, 14.5%)
CIE-LABlab(42.80, 43.14, -69.40)
CIE-LCHlch(42.80, 81.71, 301.86°)
OKLaboklab(52.49% 0.0365 -0.1996)
OKLCHoklch(52.49% 0.203 280.4)
XYZxyz(19.8340, 13.0221, 67.7844)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50DA #CFDA50
analogous
#508ADA #5B50DA #A050DA
triadic
#5B50DA #DA5B50 #50DA5B
tetradic
#5B50DA #DA508A #CFDA50 #50DAA0
square
#5B50DA #DA508A #CFDA50 #50DAA0
split-complementary
#5B50DA #DAA050 #8ADA50
monochromatic
#281F91 #3629C3 #5B50DA #8A83E5 #BAB5EF

Accessibility & contrast

On white

5.83
#5B50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5B50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50DA#FFFFFF#000000##FFFFFF
##5B50DA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b50da;
/* rgb */ color: rgb(91, 80, 218);
/* oklch */ color: oklch(52.5% 0.203 280.4);
Tailwind
colors: {
  custom: {
    50: '#9582e6',
    500: '#5b50da',
    950: '#000000',
  },
}
SCSS
$custom: #5b50da;
$custom-light: #9582e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50da",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 244.783,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.20295,
    "h": 280.4
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#5B50DA
secondary
#DADEA8
accent
#E840DB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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