#5B50FF#5B50FF

#5B50FF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.7% C 0.248 H 277.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B50FF
RGBrgb(91, 80, 255)
HSLhsl(244, 100%, 66%)
HSVhsv(244, 69%, 100%)
CMYKcmyk(64.3%, 68.6%, 0%, 0%)
CIE-LABlab(45.88, 54.61, -85.22)
CIE-LCHlch(45.88, 101.21, 302.65°)
OKLaboklab(55.66% 0.0321 -0.246)
OKLCHoklch(55.66% 0.248 277.4)
XYZxyz(25.2272, 15.1793, 96.1888)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B50FF #F4FF50
analogous
#509DFF #5B50FF #B250FF
triadic
#5B50FF #FF5B50 #50FF5B
tetradic
#5B50FF #FF509D #F4FF50 #50FFB2
square
#5B50FF #FF509D #F4FF50 #50FFB2
split-complementary
#5B50FF #FFB250 #9DFF50
monochromatic
#0D00D5 #2213FF #5B50FF #948DFF #CECAFF

Accessibility & contrast

On white

5.20
#5B50FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5B50FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B50FF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B50FF#FFFFFF#000000##FFFFFF
##5B50FF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b50ff;
/* rgb */ color: rgb(91, 80, 255);
/* oklch */ color: oklch(55.7% 0.248 277.4);
Tailwind
colors: {
  custom: {
    50: '#9c83ff',
    500: '#5b50ff',
    950: '#000000',
  },
}
SCSS
$custom: #5b50ff;
$custom-light: #9c83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b50ff",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 243.771,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.24807,
    "h": 277.4
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#5B50FF
secondary
#EFF3B8
accent
#E600D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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