#5850E4#5850E4

#5850E4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.216 H 278.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5850E4
RGBrgb(88, 80, 228)
HSLhsl(243, 73%, 60%)
HSVhsv(243, 65%, 89%)
CMYKcmyk(61.4%, 64.9%, 0%, 10.6%)
CIE-LABlab(43.38, 45.82, -74.15)
CIE-LCHlch(43.38, 87.17, 301.71°)
OKLaboklab(53.1% 0.0319 -0.2137)
OKLCHoklch(53.1% 0.216 278.5)
XYZxyz(20.8923, 13.4119, 74.8715)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850E4 #DCE450
analogous
#5092E4 #5850E4 #A250E4
triadic
#5850E4 #E45850 #50E458
tetradic
#5850E4 #E45092 #DCE450 #50E4A2
square
#5850E4 #E45092 #DCE450 #50E4A2
split-complementary
#5850E4 #E4A250 #92E450
monochromatic
#2019A1 #2B21D6 #5850E4 #8B85EC #BDBAF4

Accessibility & contrast

On white

5.70
#5850E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5850E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850E4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850E4#FFFFFF#000000##FFFFFF
##5850E41.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5850e4;
/* rgb */ color: rgb(88, 80, 228);
/* oklch */ color: oklch(53.1% 0.216 278.5);
Tailwind
colors: {
  custom: {
    50: '#9682ee',
    500: '#5850e4',
    950: '#000000',
  },
}
SCSS
$custom: #5850e4;
$custom-light: #9682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5850e4",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 243.243,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.21604,
    "h": 278.5
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#5850E4
secondary
#E1E4AC
accent
#D510CB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5850E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5850E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva