#5A50E4#5A50E4

#5A50E4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.216 H 279.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A50E4
RGBrgb(90, 80, 228)
HSLhsl(244, 73%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.5%, 64.9%, 0%, 10.6%)
CIE-LABlab(43.52, 46.11, -73.91)
CIE-LCHlch(43.52, 87.11, 301.96°)
OKLaboklab(53.25% 0.0343 -0.2129)
OKLCHoklch(53.25% 0.216 279.2)
XYZxyz(21.0842, 13.5108, 74.8805)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E4 #DAE450
analogous
#5090E4 #5A50E4 #A450E4
triadic
#5A50E4 #E45A50 #50E45A
tetradic
#5A50E4 #E45090 #DAE450 #50E4A4
square
#5A50E4 #E45090 #DAE450 #50E4A4
split-complementary
#5A50E4 #E4A450 #90E450
monochromatic
#2219A1 #2D21D6 #5A50E4 #8C85EC #BEBAF4

Accessibility & contrast

On white

5.67
#5A50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5A50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E4#FFFFFF#000000##FFFFFF
##5A50E41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a50e4;
/* rgb */ color: rgb(90, 80, 228);
/* oklch */ color: oklch(53.2% 0.216 279.2);
Tailwind
colors: {
  custom: {
    50: '#9782ee',
    500: '#5a50e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e4;
$custom-light: #9782ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e4",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 244.054,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.21565,
    "h": 279.2
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#5A50E4
secondary
#E0E4AC
accent
#D510C8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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