#5E50EB#5E50EB

#5E50EB is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.224 H 279.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E50EB
RGBrgb(94, 80, 235)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60%, 66%, 0%, 7.8%)
CIE-LABlab(44.40, 48.87, -76.43)
CIE-LCHlch(44.40, 90.72, 302.59°)
OKLaboklab(54.13% 0.0385 -0.2202)
OKLCHoklch(54.13% 0.224 279.9)
XYZxyz(22.4754, 14.1135, 80.1210)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50EB #DDEB50
analogous
#5090EB #5E50EB #AB50EB
triadic
#5E50EB #EB5E50 #50EB5E
tetradic
#5E50EB #EB5090 #DDEB50 #50EBAB
square
#5E50EB #EB5090 #DDEB50 #50EBAB
split-complementary
#5E50EB #EBAB50 #90EB50
monochromatic
#2214AD #2C1AE4 #5E50EB #9187F1 #C3BEF8

Accessibility & contrast

On white

5.49
#5E50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5E50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50EB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50EB#FFFFFF#000000##FFFFFF
##5E50EB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e50eb;
/* rgb */ color: rgb(94, 80, 235);
/* oklch */ color: oklch(54.1% 0.224 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a82f3',
    500: '#5e50eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e50eb;
$custom-light: #9a82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50eb",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 245.419,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.22353,
    "h": 279.9
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#5E50EB
secondary
#E3E8AF
accent
#DC0AC9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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