#5B50CD#5B50CD

#5B50CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.186 H 281.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5B50CD
RGBrgb(91, 80, 205)
HSLhsl(245, 56%, 56%)
HSVhsv(245, 61%, 80%)
CMYKcmyk(55.6%, 61%, 0%, 19.6%)
CIE-LABlab(41.80, 39.07, -63.57)
CIE-LCHlch(41.80, 74.61, 301.58°)
OKLaboklab(51.44% 0.0374 -0.1825)
OKLCHoklch(51.44% 0.186 281.6)
XYZxyz(18.1991, 12.3681, 59.1741)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50CD #C2CD50
analogous
#5083CD #5B50CD #9950CD
triadic
#5B50CD #CD5B50 #50CD5B
tetradic
#5B50CD #CD5083 #C2CD50 #50CD99
square
#5B50CD #CD5083 #C2CD50 #50CD99
split-complementary
#5B50CD #CD9950 #83CD50
monochromatic
#2C247E #3D32AE #5B50CD #8880DB #B4AFE8

Accessibility & contrast

On white

6.05
#5B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50CD#FFFFFF#000000##FFFFFF
##5B50CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#226E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b50cd;
/* rgb */ color: rgb(91, 80, 205);
/* oklch */ color: oklch(51.4% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#9382dd',
    500: '#5b50cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b50cd;
$custom-light: #9382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50cd",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 245.28,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.18629,
    "h": 281.6
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#5B50CD
secondary
#D2D6A2
accent
#DF49D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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