#5862ED#5862ED

#5862ED is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.8% C 0.206 H 274.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5862ED
RGBrgb(88, 98, 237)
HSLhsl(236, 81%, 64%)
HSVhsv(236, 63%, 93%)
CMYKcmyk(62.9%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.16, 38.03, -71.43)
CIE-LCHlch(48.16, 80.92, 298.03°)
OKLaboklab(56.83% 0.0166 -0.2056)
OKLCHoklch(56.83% 0.206 274.6)
XYZxyz(23.6732, 16.9225, 82.1232)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862ED #EDE358
analogous
#58ACED #5862ED #9858ED
triadic
#5862ED #ED5862 #62ED58
tetradic
#5862ED #ED58AC #EDE358 #58ED98
square
#5862ED #ED58AC #EDE358 #58ED98
split-complementary
#5862ED #ED9858 #ACED58
monochromatic
#141FB7 #212EE7 #5862ED #8F96F3 #C6CAF9

Accessibility & contrast

On white

4.79
#5862ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5862ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862ED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862ED#FFFFFF#000000##FFFFFF
##5862ED1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5862ed;
/* rgb */ color: rgb(88, 98, 237);
/* oklch */ color: oklch(56.8% 0.206 274.6);
Tailwind
colors: {
  custom: {
    50: '#968ef4',
    500: '#5862ed',
    950: '#000000',
  },
}
SCSS
$custom: #5862ed;
$custom-light: #968ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5862ed",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 235.973,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.20624,
    "h": 274.6
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#5862ED
secondary
#EBE7B6
accent
#CF09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5862ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5862ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva