#5A50E6#5A50E6

#5A50E6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.218 H 279.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A50E6
RGBrgb(90, 80, 230)
HSLhsl(244, 75%, 61%)
HSVhsv(244, 65%, 90%)
CMYKcmyk(60.9%, 65.2%, 0%, 9.8%)
CIE-LABlab(43.69, 46.74, -74.78)
CIE-LCHlch(43.69, 88.18, 302.01°)
OKLaboklab(53.41% 0.0341 -0.2154)
OKLCHoklch(53.41% 0.218 279)
XYZxyz(21.3635, 13.6225, 76.3512)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50E6 #DCE650
analogous
#5091E6 #5A50E6 #A550E6
triadic
#5A50E6 #E65A50 #50E65A
tetradic
#5A50E6 #E65091 #DCE650 #50E6A5
square
#5A50E6 #E65091 #DCE650 #50E6A5
split-complementary
#5A50E6 #E6A550 #91E650
monochromatic
#2117A4 #2C1FDA #5A50E6 #8C86EE #BFBBF5

Accessibility & contrast

On white

5.64
#5A50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5A50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50E6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50E6#FFFFFF#000000##FFFFFF
##5A50E61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a50e6;
/* rgb */ color: rgb(90, 80, 230);
/* oklch */ color: oklch(53.4% 0.218 279.0);
Tailwind
colors: {
  custom: {
    50: '#9782ef',
    500: '#5a50e6',
    950: '#000000',
  },
}
SCSS
$custom: #5a50e6;
$custom-light: #9782ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50e6",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 244,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53414,
    "c": 0.21813,
    "h": 279
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#5A50E6
secondary
#E2E5AC
accent
#D70ECA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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