#5B50DB#5B50DB

#5B50DB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.204 H 280.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5B50DB
RGBrgb(91, 80, 219)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 63%, 86%)
CMYKcmyk(58.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(42.88, 43.45, -69.84)
CIE-LCHlch(42.88, 82.25, 301.89°)
OKLaboklab(52.57% 0.0364 -0.2009)
OKLCHoklch(52.57% 0.204 280.3)
XYZxyz(19.9652, 13.0745, 68.4757)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50DB #D0DB50
analogous
#508ADB #5B50DB #A050DB
triadic
#5B50DB #DB5B50 #50DB5B
tetradic
#5B50DB #DB508A #D0DB50 #50DBA0
square
#5B50DB #DB508A #D0DB50 #50DBA0
split-complementary
#5B50DB #DBA050 #8ADB50
monochromatic
#271E92 #3529C5 #5B50DB #8B83E5 #BAB6F0

Accessibility & contrast

On white

5.81
#5B50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5B50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50DB#FFFFFF#000000##FFFFFF
##5B50DB1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b50db;
/* rgb */ color: rgb(91, 80, 219);
/* oklch */ color: oklch(52.6% 0.204 280.3);
Tailwind
colors: {
  custom: {
    50: '#9682e7',
    500: '#5b50db',
    950: '#000000',
  },
}
SCSS
$custom: #5b50db;
$custom-light: #9682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50db",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 244.748,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.20422,
    "h": 280.3
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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