#5850D7#5850D7

#5850D7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.200 H 279.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5850D7
RGBrgb(88, 80, 215)
HSLhsl(244, 63%, 58%)
HSVhsv(244, 63%, 84%)
CMYKcmyk(59.1%, 62.8%, 0%, 15.7%)
CIE-LABlab(42.33, 41.71, -68.45)
CIE-LCHlch(42.33, 80.15, 301.36°)
OKLaboklab(52.02% 0.033 -0.1969)
OKLCHoklch(52.02% 0.2 279.5)
XYZxyz(19.1550, 12.7170, 65.7220)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850D7 #CFD750
analogous
#508BD7 #5850D7 #9C50D7
triadic
#5850D7 #D75850 #50D758
tetradic
#5850D7 #D7508B #CFD750 #50D79C
square
#5850D7 #D7508B #CFD750 #50D79C
split-complementary
#5850D7 #D79C50 #8BD750
monochromatic
#27208C #342BBE #5850D7 #8882E2 #B7B4EE

Accessibility & contrast

On white

5.93
#5850D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5850D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850D7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850D7#FFFFFF#000000##FFFFFF
##5850D71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5850d7;
/* rgb */ color: rgb(88, 80, 215);
/* oklch */ color: oklch(52.0% 0.200 279.5);
Tailwind
colors: {
  custom: {
    50: '#9382e4',
    500: '#5850d7',
    950: '#000000',
  },
}
SCSS
$custom: #5850d7;
$custom-light: #9382e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5850d7",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 243.556,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.19968,
    "h": 279.5
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#5850D7
secondary
#D9DCA6
accent
#E642DC
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5850D7

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

Preview Lab → · Contrast checker → · Palette generator →

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