#5A50E7#5A50E7

#5A50E7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.219 H 278.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A50E7
RGBrgb(90, 80, 231)
HSLhsl(244, 76%, 61%)
HSVhsv(244, 65%, 91%)
CMYKcmyk(61%, 65.4%, 0%, 9.4%)
CIE-LABlab(43.77, 47.05, -75.21)
CIE-LCHlch(43.77, 88.71, 302.03°)
OKLaboklab(53.5% 0.034 -0.2167)
OKLCHoklch(53.5% 0.219 278.9)
XYZxyz(21.5043, 13.6789, 77.0929)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E7 #DDE750
analogous
#5091E7 #5A50E7 #A650E7
triadic
#5A50E7 #E75A50 #50E75A
tetradic
#5A50E7 #E75091 #DDE750 #50E7A6
square
#5A50E7 #E75091 #DDE750 #50E7A6
split-complementary
#5A50E7 #E7A650 #91E750
monochromatic
#2017A6 #2B1EDC #5A50E7 #8D86EE #BFBCF6

Accessibility & contrast

On white

5.62
#5A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5A50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E7#FFFFFF#000000##FFFFFF
##5A50E71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a50e7;
/* rgb */ color: rgb(90, 80, 231);
/* oklch */ color: oklch(53.5% 0.219 278.9);
Tailwind
colors: {
  custom: {
    50: '#9782f0',
    500: '#5a50e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e7;
$custom-light: #9782f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e7",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 243.974,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.21936,
    "h": 278.9
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#5A50E7
secondary
#E2E6AD
accent
#D80DCB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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