#5862E5#5862E5

#5862E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.196 H 274.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5862E5
RGBrgb(88, 98, 229)
HSLhsl(236, 73%, 62%)
HSVhsv(236, 62%, 90%)
CMYKcmyk(61.6%, 57.2%, 0%, 10.2%)
CIE-LABlab(47.58, 35.39, -67.87)
CIE-LCHlch(47.58, 76.55, 297.54°)
OKLaboklab(56.21% 0.0166 -0.1951)
OKLCHoklch(56.21% 0.196 274.9)
XYZxyz(22.5304, 16.4654, 76.1044)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862E5 #E5DB58
analogous
#58A8E5 #5862E5 #9558E5
triadic
#5862E5 #E55862 #62E558
tetradic
#5862E5 #E558A8 #E5DB58 #58E595
square
#5862E5 #E558A8 #E5DB58 #58E595
split-complementary
#5862E5 #E59558 #A8E558
monochromatic
#1A24A8 #2330DD #5862E5 #8D94ED #C2C6F5

Accessibility & contrast

On white

4.89
#5862E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5862E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862E5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862E5#FFFFFF#000000##FFFFFF
##5862E51.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5862e5;
/* rgb */ color: rgb(88, 98, 229);
/* oklch */ color: oklch(56.2% 0.196 274.9);
Tailwind
colors: {
  custom: {
    50: '#958eee',
    500: '#5862e5',
    950: '#000000',
  },
}
SCSS
$custom: #5862e5;
$custom-light: #958eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5862e5",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 235.745,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.19583,
    "h": 274.9
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

primary
#5862E5
secondary
#E6E3B3
accent
#C710D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5862E5

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

Preview Lab → · Contrast checker → · Palette generator →

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