#5862EF#5862EF

#5862EF is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.209 H 274.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5862EF
RGBrgb(88, 98, 239)
HSLhsl(236, 83%, 64%)
HSVhsv(236, 63%, 94%)
CMYKcmyk(63.2%, 59%, 0%, 6.3%)
CIE-LABlab(48.31, 38.68, -72.31)
CIE-LCHlch(48.31, 82.01, 298.15°)
OKLaboklab(56.99% 0.0166 -0.2082)
OKLCHoklch(56.99% 0.209 274.6)
XYZxyz(23.9670, 17.0400, 83.6707)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862EF #EFE558
analogous
#58AEEF #5862EF #9958EF
triadic
#5862EF #EF5862 #62EF58
tetradic
#5862EF #EF58AE #EFE558 #58EF99
square
#5862EF #EF58AE #EFE558 #58EF99
split-complementary
#5862EF #EF9958 #AEEF58
monochromatic
#121DBB #202DEA #5862EF #9097F4 #C8CBFA

Accessibility & contrast

On white

4.76
#5862EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5862EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862EF#FFFFFF#000000##FFFFFF
##5862EF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5862ef;
/* rgb */ color: rgb(88, 98, 239);
/* oklch */ color: oklch(57.0% 0.209 274.6);
Tailwind
colors: {
  custom: {
    50: '#968ef5',
    500: '#5862ef',
    950: '#000000',
  },
}
SCSS
$custom: #5862ef;
$custom-light: #968ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5862ef",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 236.026,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.20882,
    "h": 274.6
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#5862EF
secondary
#ECE8B7
accent
#D107DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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