#5A50E2#5A50E2

#5A50E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.213 H 279.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5A50E2
RGBrgb(90, 80, 226)
HSLhsl(244, 72%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.2%, 64.6%, 0%, 11.4%)
CIE-LABlab(43.36, 45.48, -73.04)
CIE-LCHlch(43.36, 86.04, 301.91°)
OKLaboklab(53.08% 0.0345 -0.2103)
OKLCHoklch(53.08% 0.213 279.3)
XYZxyz(20.8082, 13.4004, 73.4268)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E2 #D8E250
analogous
#508FE2 #5A50E2 #A350E2
triadic
#5A50E2 #E25A50 #50E25A
tetradic
#5A50E2 #E2508F #D8E250 #50E2A3
square
#5A50E2 #E2508F #D8E250 #50E2A3
split-complementary
#5A50E2 #E2A350 #8FE250
monochromatic
#231A9E #2F23D2 #5A50E2 #8C84EB #BDB9F3

Accessibility & contrast

On white

5.71
#5A50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5A50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E2#FFFFFF#000000##FFFFFF
##5A50E21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a50e2;
/* rgb */ color: rgb(90, 80, 226);
/* oklch */ color: oklch(53.1% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#9682ec',
    500: '#5a50e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e2;
$custom-light: #9682ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e2",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 244.11,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.21317,
    "h": 279.3
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#5A50E2
secondary
#DFE3AB
accent
#EE39E2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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