#5D50EA#5D50EA

#5D50EA is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.222 H 279.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5D50EA
RGBrgb(93, 80, 234)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.3%, 65.8%, 0%, 8.2%)
CIE-LABlab(44.24, 48.41, -76.13)
CIE-LCHlch(44.24, 90.22, 302.45°)
OKLaboklab(53.97% 0.0374 -0.2193)
OKLCHoklch(53.97% 0.222 279.7)
XYZxyz(22.2294, 14.0033, 79.3575)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50EA #DDEA50
analogous
#5090EA #5D50EA #AA50EA
triadic
#5D50EA #EA5D50 #50EA5D
tetradic
#5D50EA #EA5090 #DDEA50 #50EAAA
square
#5D50EA #EA5090 #DDEA50 #50EAAA
split-complementary
#5D50EA #EAAA50 #90EA50
monochromatic
#2115AB #2C1BE2 #5D50EA #9087F1 #C2BDF7

Accessibility & contrast

On white

5.52
#5D50EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D50EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50EA#FFFFFF#000000##FFFFFF
##5D50EA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d50ea;
/* rgb */ color: rgb(93, 80, 234);
/* oklch */ color: oklch(54.0% 0.222 279.7);
Tailwind
colors: {
  custom: {
    50: '#9982f2',
    500: '#5d50ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d50ea;
$custom-light: #9982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50ea",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 245.065,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.22248,
    "h": 279.7
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#5D50EA
secondary
#E3E8AE
accent
#DB0BC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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