#5D50E4#5D50E4

#5D50E4 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.215 H 280.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5D50E4
RGBrgb(93, 80, 228)
HSLhsl(245, 73%, 60%)
HSVhsv(245, 65%, 89%)
CMYKcmyk(59.2%, 64.9%, 0%, 10.6%)
CIE-LABlab(43.75, 46.56, -73.53)
CIE-LCHlch(43.75, 87.03, 302.34°)
OKLaboklab(53.47% 0.0381 -0.2117)
OKLCHoklch(53.47% 0.215 280.2)
XYZxyz(21.3820, 13.6644, 74.8945)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50E4 #D7E450
analogous
#508DE4 #5D50E4 #A750E4
triadic
#5D50E4 #E45D50 #50E45D
tetradic
#5D50E4 #E4508D #D7E450 #50E4A7
square
#5D50E4 #E4508D #D7E450 #50E4A7
split-complementary
#5D50E4 #E4A750 #8DE450
monochromatic
#2519A1 #3121D6 #5D50E4 #8E85EC #BFBAF4

Accessibility & contrast

On white

5.63
#5D50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5D50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50E4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50E4#FFFFFF#000000##FFFFFF
##5D50E41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d50e4;
/* rgb */ color: rgb(93, 80, 228);
/* oklch */ color: oklch(53.5% 0.215 280.2);
Tailwind
colors: {
  custom: {
    50: '#9882ee',
    500: '#5d50e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d50e4;
$custom-light: #9882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50e4",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 245.27,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.21511,
    "h": 280.2
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#5D50E4
secondary
#DFE4AC
accent
#D510C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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