#5B50F0#5B50F0

#5B50F0 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.230 H 278.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B50F0
RGBrgb(91, 80, 240)
HSLhsl(244, 84%, 63%)
HSVhsv(244, 67%, 94%)
CMYKcmyk(62.1%, 66.7%, 0%, 5.9%)
CIE-LABlab(44.59, 49.99, -78.94)
CIE-LCHlch(44.59, 93.43, 302.34°)
OKLaboklab(54.34% 0.0342 -0.2276)
OKLCHoklch(54.34% 0.23 278.5)
XYZxyz(22.9062, 14.2509, 83.9648)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50F0 #E5F050
analogous
#5095F0 #5B50F0 #AB50F0
triadic
#5B50F0 #F05B50 #50F05B
tetradic
#5B50F0 #F05095 #E5F050 #50F0AB
square
#5B50F0 #F05095 #E5F050 #50F0AB
split-complementary
#5B50F0 #F0AB50 #95F050
monochromatic
#1B10B6 #2618EB #5B50F0 #9088F5 #C5C1FA

Accessibility & contrast

On white

5.45
#5B50F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5B50F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50F0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50F0#FFFFFF#000000##FFFFFF
##5B50F01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F5
Deuteranopia (green-blind)
#0063ED
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b50f0;
/* rgb */ color: rgb(91, 80, 240);
/* oklch */ color: oklch(54.3% 0.230 278.5);
Tailwind
colors: {
  custom: {
    50: '#9982f6',
    500: '#5b50f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b50f0;
$custom-light: #9982f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50f0",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 240
  },
  "hsl": {
    "h": 244.125,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.23016,
    "h": 278.5
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#5B50F0
secondary
#E7EBB1
accent
#E105D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B50F0

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

Preview Lab → · Contrast checker → · Palette generator →

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