#5B50DC#5B50DC

#5B50DC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.205 H 280.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B50DC
RGBrgb(91, 80, 220)
HSLhsl(245, 67%, 59%)
HSVhsv(245, 64%, 86%)
CMYKcmyk(58.6%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.95, 43.76, -70.28)
CIE-LCHlch(42.95, 82.79, 301.91°)
OKLaboklab(52.65% 0.0364 -0.2022)
OKLCHoklch(52.65% 0.205 280.2)
XYZxyz(20.0972, 13.1274, 69.1711)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50DC #D1DC50
analogous
#508BDC #5B50DC #A150DC
triadic
#5B50DC #DC5B50 #50DC5B
tetradic
#5B50DC #DC508B #D1DC50 #50DCA1
square
#5B50DC #DC508B #D1DC50 #50DCA1
split-complementary
#5B50DC #DCA150 #8BDC50
monochromatic
#271E94 #3428C7 #5B50DC #8B83E6 #BBB6F0

Accessibility & contrast

On white

5.79
#5B50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5B50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50DC#FFFFFF#000000##FFFFFF
##5B50DC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b50dc;
/* rgb */ color: rgb(91, 80, 220);
/* oklch */ color: oklch(52.7% 0.205 280.2);
Tailwind
colors: {
  custom: {
    50: '#9682e8',
    500: '#5b50dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b50dc;
$custom-light: #9682e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50dc",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 244.714,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.20547,
    "h": 280.2
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#5B50DC
secondary
#DBDFA8
accent
#EA3EDC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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