#5A50E9#5A50E9

#5A50E9 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.222 H 278.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5A50E9
RGBrgb(90, 80, 233)
HSLhsl(244, 78%, 61%)
HSVhsv(244, 66%, 91%)
CMYKcmyk(61.4%, 65.7%, 0%, 8.6%)
CIE-LABlab(43.93, 47.67, -76.07)
CIE-LCHlch(43.93, 89.77, 302.08°)
OKLaboklab(53.67% 0.0338 -0.2192)
OKLCHoklch(53.67% 0.222 278.8)
XYZxyz(21.7884, 13.7925, 78.5890)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E9 #DFE950
analogous
#5093E9 #5A50E9 #A750E9
triadic
#5A50E9 #E95A50 #50E95A
tetradic
#5A50E9 #E95093 #DFE950 #50E9A7
square
#5A50E9 #E95093 #DFE950 #50E9A7
split-complementary
#5A50E9 #E9A750 #93E950
monochromatic
#1F15A9 #291CE0 #5A50E9 #8D86F0 #C1BDF7

Accessibility & contrast

On white

5.59
#5A50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5A50E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E9#FFFFFF#000000##FFFFFF
##5A50E91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a50e9;
/* rgb */ color: rgb(90, 80, 233);
/* oklch */ color: oklch(53.7% 0.222 278.8);
Tailwind
colors: {
  custom: {
    50: '#9782f1',
    500: '#5a50e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e9;
$custom-light: #9782f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e9",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 243.922,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.22183,
    "h": 278.8
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#5A50E9
secondary
#E3E7AE
accent
#DA0CCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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