#5850E9#5850E9

#5850E9 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.222 H 278.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5850E9
RGBrgb(88, 80, 233)
HSLhsl(243, 78%, 61%)
HSVhsv(243, 66%, 91%)
CMYKcmyk(62.2%, 65.7%, 0%, 8.6%)
CIE-LABlab(43.79, 47.39, -76.31)
CIE-LCHlch(43.79, 89.83, 301.84°)
OKLaboklab(53.53% 0.0313 -0.22)
OKLCHoklch(53.53% 0.222 278.1)
XYZxyz(21.5964, 13.6935, 78.5800)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850E9 #E1E950
analogous
#5095E9 #5850E9 #A550E9
triadic
#5850E9 #E95850 #50E958
tetradic
#5850E9 #E95095 #E1E950 #50E9A5
square
#5850E9 #E95095 #E1E950 #50E9A5
split-complementary
#5850E9 #E9A550 #95E950
monochromatic
#1D15A9 #261CE0 #5850E9 #8C86F0 #C0BDF7

Accessibility & contrast

On white

5.62
#5850E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5850E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850E9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850E9#FFFFFF#000000##FFFFFF
##5850E91.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5850e9;
/* rgb */ color: rgb(88, 80, 233);
/* oklch */ color: oklch(53.5% 0.222 278.1);
Tailwind
colors: {
  custom: {
    50: '#9682f1',
    500: '#5850e9',
    950: '#000000',
  },
}
SCSS
$custom: #5850e9;
$custom-light: #9682f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5850e9",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 243.137,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.22222,
    "h": 278.1
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#5850E9
secondary
#E4E7AE
accent
#DA0CCF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5850E9

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

Preview Lab → · Contrast checker → · Palette generator →

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