#5B50BF#5B50BF

#5B50BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.168 H 283.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5B50BF
RGBrgb(91, 80, 191)
HSLhsl(246, 46%, 53%)
HSVhsv(246, 58%, 75%)
CMYKcmyk(52.4%, 58.1%, 0%, 25.1%)
CIE-LABlab(40.77, 34.69, -57.10)
CIE-LCHlch(40.77, 66.82, 301.28°)
OKLaboklab(50.37% 0.0379 -0.1635)
OKLCHoklch(50.37% 0.168 283)
XYZxyz(16.5842, 11.7221, 50.6688)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50BF #B4BF50
analogous
#507CBF #5B50BF #9250BF
triadic
#5B50BF #BF5B50 #50BF5B
tetradic
#5B50BF #BF507C #B4BF50 #50BF92
square
#5B50BF #BF507C #B4BF50 #50BF92
split-complementary
#5B50BF #BF9250 #7CBF50
monochromatic
#2F286D #42389A #5B50BF #857DCF #AFAAE0

Accessibility & contrast

On white

6.28
#5B50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5B50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50BF#FFFFFF#000000##FFFFFF
##5B50BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#326A80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b50bf;
/* rgb */ color: rgb(91, 80, 191);
/* oklch */ color: oklch(50.4% 0.168 283.0);
Tailwind
colors: {
  custom: {
    50: '#9181d3',
    500: '#5b50bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b50bf;
$custom-light: #9181d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50bf",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 245.946,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.16782,
    "h": 283
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#5B50BF
secondary
#C9CD9D
accent
#D652C9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5B50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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