#5A50E5#5A50E5

#5A50E5 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.217 H 279.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5A50E5
RGBrgb(90, 80, 229)
HSLhsl(244, 74%, 61%)
HSVhsv(244, 65%, 90%)
CMYKcmyk(60.7%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.60, 46.42, -74.34)
CIE-LCHlch(43.60, 87.65, 301.98°)
OKLaboklab(53.33% 0.0342 -0.2142)
OKLCHoklch(53.33% 0.217 279.1)
XYZxyz(21.2235, 13.5665, 75.6137)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E5 #DBE550
analogous
#5090E5 #5A50E5 #A450E5
triadic
#5A50E5 #E55A50 #50E55A
tetradic
#5A50E5 #E55090 #DBE550 #50E5A4
square
#5A50E5 #E55090 #DBE550 #50E5A4
split-complementary
#5A50E5 #E5A450 #90E550
monochromatic
#2118A2 #2C20D8 #5A50E5 #8C85ED #BEBBF5

Accessibility & contrast

On white

5.65
#5A50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5A50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E5#FFFFFF#000000##FFFFFF
##5A50E51.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a50e5;
/* rgb */ color: rgb(90, 80, 229);
/* oklch */ color: oklch(53.3% 0.217 279.1);
Tailwind
colors: {
  custom: {
    50: '#9782ee',
    500: '#5a50e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e5;
$custom-light: #9782ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e5",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 244.027,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.2169,
    "h": 279.1
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#5A50E5
secondary
#E1E5AC
accent
#D60FC9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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