#5A50E1#5A50E1

#5A50E1 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.212 H 279.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5A50E1
RGBrgb(90, 80, 225)
HSLhsl(244, 71%, 60%)
HSVhsv(244, 64%, 88%)
CMYKcmyk(60%, 64.4%, 0%, 11.8%)
CIE-LABlab(43.28, 45.17, -72.60)
CIE-LCHlch(43.28, 85.51, 301.89°)
OKLaboklab(52.99% 0.0346 -0.2091)
OKLCHoklch(52.99% 0.212 279.4)
XYZxyz(20.6714, 13.3457, 72.7062)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E1 #D7E150
analogous
#508FE1 #5A50E1 #A350E1
triadic
#5A50E1 #E15A50 #50E15A
tetradic
#5A50E1 #E1508F #D7E150 #50E1A3
square
#5A50E1 #E1508F #D7E150 #50E1A3
split-complementary
#5A50E1 #E1A350 #8FE150
monochromatic
#241B9C #3024D0 #5A50E1 #8B84EA #BDB8F3

Accessibility & contrast

On white

5.72
#5A50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A50E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E1#FFFFFF#000000##FFFFFF
##5A50E11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a50e1;
/* rgb */ color: rgb(90, 80, 225);
/* oklch */ color: oklch(53.0% 0.212 279.4);
Tailwind
colors: {
  custom: {
    50: '#9682eb',
    500: '#5a50e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e1;
$custom-light: #9682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e1",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 244.138,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.21192,
    "h": 279.4
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#5A50E1
secondary
#DFE2AA
accent
#ED3AE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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