#5862E6#5862E6

#5862E6 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.197 H 274.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5862E6
RGBrgb(88, 98, 230)
HSLhsl(236, 74%, 62%)
HSVhsv(236, 62%, 90%)
CMYKcmyk(61.7%, 57.4%, 0%, 9.8%)
CIE-LABlab(47.65, 35.72, -68.32)
CIE-LCHlch(47.65, 77.10, 297.60°)
OKLaboklab(56.29% 0.0166 -0.1964)
OKLCHoklch(56.29% 0.197 274.8)
XYZxyz(22.6704, 16.5214, 76.8418)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862E6 #E6DC58
analogous
#58A9E6 #5862E6 #9558E6
triadic
#5862E6 #E65862 #62E658
tetradic
#5862E6 #E658A9 #E6DC58 #58E695
square
#5862E6 #E658A9 #E6DC58 #58E695
split-complementary
#5862E6 #E69558 #A9E658
monochromatic
#1924AA #2330DE #5862E6 #8D94EE #C2C6F6

Accessibility & contrast

On white

4.88
#5862E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5862E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862E6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862E6#FFFFFF#000000##FFFFFF
##5862E61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5862e6;
/* rgb */ color: rgb(88, 98, 230);
/* oklch */ color: oklch(56.3% 0.197 274.8);
Tailwind
colors: {
  custom: {
    50: '#958eef',
    500: '#5862e6',
    950: '#000000',
  },
}
SCSS
$custom: #5862e6;
$custom-light: #958eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5862e6",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 235.775,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.19713,
    "h": 274.8
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#5862E6
secondary
#E7E3B3
accent
#C80FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5862E6

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

Preview Lab → · Contrast checker → · Palette generator →

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