#5B50CA#5B50CA

#5B50CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.182 H 281.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5B50CA
RGBrgb(91, 80, 202)
HSLhsl(245, 54%, 55%)
HSVhsv(245, 60%, 79%)
CMYKcmyk(55%, 60.4%, 0%, 20.8%)
CIE-LABlab(41.57, 38.13, -62.20)
CIE-LCHlch(41.57, 72.95, 301.51°)
OKLaboklab(51.21% 0.0376 -0.1785)
OKLCHoklch(51.21% 0.182 281.9)
XYZxyz(17.8404, 12.2246, 57.2852)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50CA #BFCA50
analogous
#5082CA #5B50CA #9850CA
triadic
#5B50CA #CA5B50 #50CA5B
tetradic
#5B50CA #CA5082 #BFCA50 #50CA98
square
#5B50CA #CA5082 #BFCA50 #50CA98
split-complementary
#5B50CA #CA9850 #82CA50
monochromatic
#2D257A #3E33A9 #5B50CA #877FD8 #B3AEE6

Accessibility & contrast

On white

6.10
#5B50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50CA#FFFFFF#000000##FFFFFF
##5B50CA1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#266D85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b50ca;
/* rgb */ color: rgb(91, 80, 202);
/* oklch */ color: oklch(51.2% 0.182 281.9);
Tailwind
colors: {
  custom: {
    50: '#9381db',
    500: '#5b50ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b50ca;
$custom-light: #9381db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50ca",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 245.41,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.18238,
    "h": 281.9
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#5B50CA
secondary
#D0D4A1
accent
#DD4BD0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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