#5D50E5#5D50E5

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

Color values

HEX#5D50E5
RGBrgb(93, 80, 229)
HSLhsl(245, 74%, 61%)
HSVhsv(245, 65%, 90%)
CMYKcmyk(59.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.83, 46.87, -73.97)
CIE-LCHlch(43.83, 87.57, 302.36°)
OKLaboklab(53.55% 0.038 -0.213)
OKLCHoklch(53.55% 0.216 280.1)
XYZxyz(21.5212, 13.7201, 75.6277)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50E5 #D8E550
analogous
#508DE5 #5D50E5 #A750E5
triadic
#5D50E5 #E55D50 #50E55D
tetradic
#5D50E5 #E5508D #D8E550 #50E5A7
square
#5D50E5 #E5508D #D8E550 #50E5A7
split-complementary
#5D50E5 #E5A750 #8DE550
monochromatic
#2418A2 #3020D8 #5D50E5 #8E85ED #C0BBF5

Accessibility & contrast

On white

5.61
#5D50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5D50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50E5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50E5#FFFFFF#000000##FFFFFF
##5D50E51.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.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: #5d50e5;
/* rgb */ color: rgb(93, 80, 229);
/* oklch */ color: oklch(53.5% 0.216 280.1);
Tailwind
colors: {
  custom: {
    50: '#9882ee',
    500: '#5d50e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d50e5;
$custom-light: #9882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50e5",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 245.235,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.21635,
    "h": 280.1
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#5D50E5
secondary
#E0E5AC
accent
#D60FC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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