#5A50EB#5A50EB

#5A50EB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.224 H 278.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5A50EB
RGBrgb(90, 80, 235)
HSLhsl(244, 79%, 62%)
HSVhsv(244, 66%, 92%)
CMYKcmyk(61.7%, 66%, 0%, 7.8%)
CIE-LABlab(44.10, 48.30, -76.93)
CIE-LCHlch(44.10, 90.83, 302.12°)
OKLaboklab(53.84% 0.0336 -0.2217)
OKLCHoklch(53.84% 0.224 278.6)
XYZxyz(22.0757, 13.9074, 80.1022)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50EB #E1EB50
analogous
#5094EB #5A50EB #A850EB
triadic
#5A50EB #EB5A50 #50EB5A
tetradic
#5A50EB #EB5094 #E1EB50 #50EBA8
square
#5A50EB #EB5094 #E1EB50 #50EBA8
split-complementary
#5A50EB #EBA850 #94EB50
monochromatic
#1E14AD #271AE4 #5A50EB #8E87F1 #C2BEF8

Accessibility & contrast

On white

5.55
#5A50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5A50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50EB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50EB#FFFFFF#000000##FFFFFF
##5A50EB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a50eb;
/* rgb */ color: rgb(90, 80, 235);
/* oklch */ color: oklch(53.8% 0.224 278.6);
Tailwind
colors: {
  custom: {
    50: '#9882f3',
    500: '#5a50eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a50eb;
$custom-light: #9882f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50eb",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 243.871,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.22427,
    "h": 278.6
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#5A50EB
secondary
#E4E8AF
accent
#DC0ACE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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