#5E50E5#5E50E5

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

Color values

HEX#5E50E5
RGBrgb(94, 80, 229)
HSLhsl(246, 74%, 61%)
HSVhsv(246, 65%, 90%)
CMYKcmyk(59%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.91, 47.02, -73.84)
CIE-LCHlch(43.91, 87.54, 302.49°)
OKLaboklab(53.62% 0.0392 -0.2126)
OKLCHoklch(53.62% 0.216 280.5)
XYZxyz(21.6232, 13.7726, 75.6325)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50E5 #D7E550
analogous
#508CE5 #5E50E5 #A950E5
triadic
#5E50E5 #E55E50 #50E55E
tetradic
#5E50E5 #E5508C #D7E550 #50E5A9
square
#5E50E5 #E5508C #D7E550 #50E5A9
split-complementary
#5E50E5 #E5A950 #8CE550
monochromatic
#2518A2 #3120D8 #5E50E5 #8F85ED #C0BBF5

Accessibility & contrast

On white

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

On black

3.75
#5E50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E50E5#FFFFFF#000000##FFFFFF
##5E50E51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e50e5;
/* rgb */ color: rgb(94, 80, 229);
/* oklch */ color: oklch(53.6% 0.216 280.5);
Tailwind
colors: {
  custom: {
    50: '#9982ee',
    500: '#5e50e5',
    950: '#000000',
  },
}
SCSS
$custom: #5e50e5;
$custom-light: #9982ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50e5",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 245.638,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.21618,
    "h": 280.5
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#5E50E5
secondary
#DFE5AC
accent
#D60FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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