#5850CF#5850CF

#5850CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.189 H 280.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5850CF
RGBrgb(88, 80, 207)
HSLhsl(244, 57%, 56%)
HSVhsv(244, 61%, 81%)
CMYKcmyk(57.5%, 61.4%, 0%, 18.8%)
CIE-LABlab(41.71, 39.17, -64.86)
CIE-LCHlch(41.71, 75.77, 301.13°)
OKLaboklab(51.37% 0.0336 -0.1864)
OKLCHoklch(51.37% 0.189 280.2)
XYZxyz(18.1521, 12.3158, 60.4400)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850CF #C7CF50
analogous
#5088CF #5850CF #9850CF
triadic
#5850CF #CF5850 #50CF58
tetradic
#5850CF #CF5088 #C7CF50 #50CF98
square
#5850CF #CF5088 #C7CF50 #50CF98
split-complementary
#5850CF #CF9850 #88CF50
monochromatic
#292381 #3931B1 #5850CF #8680DC #B4B0E9

Accessibility & contrast

On white

6.06
#5850CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5850CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850CF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850CF#FFFFFF#000000##FFFFFF
##5850CF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#0F6F88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5850cf;
/* rgb */ color: rgb(88, 80, 207);
/* oklch */ color: oklch(51.4% 0.189 280.2);
Tailwind
colors: {
  custom: {
    50: '#9281df',
    500: '#5850cf',
    950: '#000000',
  },
}
SCSS
$custom: #5850cf;
$custom-light: #9281df;
$custom-dark: #000000;
JSON
{
  "hex": "#5850cf",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 243.78,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.18939,
    "h": 280.2
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#5850CF
secondary
#D4D8A3
accent
#E048D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5850CF

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

Preview Lab → · Contrast checker → · Palette generator →

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