#5B50BB#5B50BB

#5B50BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.162 H 283.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5B50BB
RGBrgb(91, 80, 187)
HSLhsl(246, 44%, 52%)
HSVhsv(246, 57%, 73%)
CMYKcmyk(51.3%, 57.2%, 0%, 26.7%)
CIE-LABlab(40.49, 33.45, -55.22)
CIE-LCHlch(40.49, 64.56, 301.20°)
OKLaboklab(50.07% 0.0379 -0.158)
OKLCHoklch(50.07% 0.162 283.5)
XYZxyz(16.1500, 11.5485, 48.3822)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50BB #B0BB50
analogous
#507BBB #5B50BB #9050BB
triadic
#5B50BB #BB5B50 #50BB5B
tetradic
#5B50BB #BB507B #B0BB50 #50BB90
square
#5B50BB #BB507B #B0BB50 #50BB90
split-complementary
#5B50BB #BB9050 #7BBB50
monochromatic
#2F2868 #433A94 #5B50BB #847CCC #AEA8DD

Accessibility & contrast

On white

6.34
#5B50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5B50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50BB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50BB#FFFFFF#000000##FFFFFF
##5B50BB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#36687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b50bb;
/* rgb */ color: rgb(91, 80, 187);
/* oklch */ color: oklch(50.1% 0.162 283.5);
Tailwind
colors: {
  custom: {
    50: '#9181d0',
    500: '#5b50bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b50bb;
$custom-light: #9181d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50bb",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 246.168,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.16245,
    "h": 283.5
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#5B50BB
secondary
#C6CB9C
accent
#D454C7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5B50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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