#5A50E3#5A50E3

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

Color values

HEX#5A50E3
RGBrgb(90, 80, 227)
HSLhsl(244, 72%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.4%, 64.8%, 0%, 11%)
CIE-LABlab(43.44, 45.80, -73.48)
CIE-LCHlch(43.44, 86.58, 301.94°)
OKLaboklab(53.16% 0.0344 -0.2116)
OKLCHoklch(53.16% 0.214 279.2)
XYZxyz(20.9458, 13.4555, 74.1515)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E3 #D9E350
analogous
#508FE3 #5A50E3 #A450E3
triadic
#5A50E3 #E35A50 #50E35A
tetradic
#5A50E3 #E3508F #D9E350 #50E3A4
square
#5A50E3 #E3508F #D9E350 #50E3A4
split-complementary
#5A50E3 #E3A450 #8FE350
monochromatic
#23199F #2E22D4 #5A50E3 #8C85EB #BDBAF4

Accessibility & contrast

On white

5.69
#5A50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5A50E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E3#FFFFFF#000000##FFFFFF
##5A50E31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a50e3;
/* rgb */ color: rgb(90, 80, 227);
/* oklch */ color: oklch(53.2% 0.214 279.2);
Tailwind
colors: {
  custom: {
    50: '#9682ed',
    500: '#5a50e3',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e3;
$custom-light: #9682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e3",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 244.082,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.21441,
    "h": 279.2
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#5A50E3
secondary
#E0E4AB
accent
#D411C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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