#5850C8#5850C8

#5850C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.180 H 280.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5850C8
RGBrgb(88, 80, 200)
HSLhsl(244, 52%, 55%)
HSVhsv(244, 60%, 78%)
CMYKcmyk(56%, 60%, 0%, 21.6%)
CIE-LABlab(41.19, 36.95, -61.68)
CIE-LCHlch(41.19, 71.90, 300.93°)
OKLaboklab(50.82% 0.0339 -0.177)
OKLCHoklch(50.82% 0.18 280.8)
XYZxyz(17.3152, 11.9810, 56.0325)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5850C8 #C0C850
analogous
#5084C8 #5850C8 #9450C8
triadic
#5850C8 #C85850 #50C858
tetradic
#5850C8 #C85084 #C0C850 #50C894
square
#5850C8 #C85084 #C0C850 #50C894
split-complementary
#5850C8 #C89450 #84C850
monochromatic
#2B2678 #3C34A6 #5850C8 #847FD7 #B1ADE5

Accessibility & contrast

On white

6.18
#5850C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5850C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5850C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5850C8#FFFFFF#000000##FFFFFF
##5850C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#1E6D84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5850c8;
/* rgb */ color: rgb(88, 80, 200);
/* oklch */ color: oklch(50.8% 0.180 280.8);
Tailwind
colors: {
  custom: {
    50: '#9181da',
    500: '#5850c8',
    950: '#000000',
  },
}
SCSS
$custom: #5850c8;
$custom-light: #9181da;
$custom-dark: #000000;
JSON
{
  "hex": "#5850c8",
  "rgb": {
    "r": 88,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 244,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.18023,
    "h": 280.8
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#5850C8
secondary
#D0D3A1
accent
#DC4CD2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5850C8

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

Preview Lab → · Contrast checker → · Palette generator →

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