#5D50E7#5D50E7

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

Color values

HEX#5D50E7
RGBrgb(93, 80, 231)
HSLhsl(245, 76%, 61%)
HSVhsv(245, 65%, 91%)
CMYKcmyk(59.7%, 65.4%, 0%, 9.4%)
CIE-LABlab(43.99, 47.49, -74.83)
CIE-LCHlch(43.99, 88.63, 302.40°)
OKLaboklab(53.72% 0.0377 -0.2155)
OKLCHoklch(53.72% 0.219 279.9)
XYZxyz(21.8021, 13.8324, 77.1068)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50E7 #DAE750
analogous
#508EE7 #5D50E7 #A950E7
triadic
#5D50E7 #E75D50 #50E75D
tetradic
#5D50E7 #E7508E #DAE750 #50E7A9
square
#5D50E7 #E7508E #DAE750 #50E7A9
split-complementary
#5D50E7 #E7A950 #8EE750
monochromatic
#2317A6 #2E1EDC #5D50E7 #8F86EE #C1BCF6

Accessibility & contrast

On white

5.58
#5D50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50E7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50E7#FFFFFF#000000##FFFFFF
##5D50E71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d50e7;
/* rgb */ color: rgb(93, 80, 231);
/* oklch */ color: oklch(53.7% 0.219 279.9);
Tailwind
colors: {
  custom: {
    50: '#9982f0',
    500: '#5d50e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d50e7;
$custom-light: #9982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50e7",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 245.166,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.21881,
    "h": 279.9
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#5D50E7
secondary
#E1E6AD
accent
#D80DC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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