#5850D2#5850D2

#5850D2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.193 H 279.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5850D2
RGBrgb(88, 80, 210)
HSLhsl(244, 59%, 57%)
HSVhsv(244, 62%, 82%)
CMYKcmyk(58.1%, 61.9%, 0%, 17.6%)
CIE-LABlab(41.94, 40.12, -66.21)
CIE-LCHlch(41.94, 77.42, 301.21°)
OKLaboklab(51.61% 0.0334 -0.1904)
OKLCHoklch(51.61% 0.193 279.9)
XYZxyz(18.5224, 12.4639, 62.3900)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850D2 #CAD250
analogous
#5089D2 #5850D2 #9950D2
triadic
#5850D2 #D25850 #50D258
tetradic
#5850D2 #D25089 #CAD250 #50D299
square
#5850D2 #D25089 #CAD250 #50D299
split-complementary
#5850D2 #D29950 #89D250
monochromatic
#282285 #372FB6 #5850D2 #8681DF #B5B1EB

Accessibility & contrast

On white

6.01
#5850D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5850D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850D2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850D2#FFFFFF#000000##FFFFFF
##5850D21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#047089
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5850d2;
/* rgb */ color: rgb(88, 80, 210);
/* oklch */ color: oklch(51.6% 0.193 279.9);
Tailwind
colors: {
  custom: {
    50: '#9382e1',
    500: '#5850d2',
    950: '#000000',
  },
}
SCSS
$custom: #5850d2;
$custom-light: #9382e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5850d2",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 243.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51612,
    "c": 0.19326,
    "h": 279.9
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#5850D2
secondary
#D6D9A4
accent
#E246D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5850D2

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

Preview Lab → · Contrast checker → · Palette generator →

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