#5862E8#5862E8

#5862E8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.200 H 274.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5862E8
RGBrgb(88, 98, 232)
HSLhsl(236, 76%, 63%)
HSVhsv(236, 62%, 91%)
CMYKcmyk(62.1%, 57.8%, 0%, 9%)
CIE-LABlab(47.80, 36.38, -69.21)
CIE-LCHlch(47.80, 78.19, 297.73°)
OKLaboklab(56.44% 0.0166 -0.199)
OKLCHoklch(56.44% 0.2 274.8)
XYZxyz(22.9529, 16.6344, 78.3295)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862E8 #E8DE58
analogous
#58AAE8 #5862E8 #9658E8
triadic
#5862E8 #E85862 #62E858
tetradic
#5862E8 #E858AA #E8DE58 #58E896
square
#5862E8 #E858AA #E8DE58 #58E896
split-complementary
#5862E8 #E89658 #AAE858
monochromatic
#1822AE #222FE1 #5862E8 #8E95EF #C4C7F7

Accessibility & contrast

On white

4.85
#5862E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5862E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862E8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862E8#FFFFFF#000000##FFFFFF
##5862E81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5862e8;
/* rgb */ color: rgb(88, 98, 232);
/* oklch */ color: oklch(56.4% 0.200 274.8);
Tailwind
colors: {
  custom: {
    50: '#958ef0',
    500: '#5862e8',
    950: '#000000',
  },
}
SCSS
$custom: #5862e8;
$custom-light: #958ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5862e8",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 235.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.19974,
    "h": 274.8
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#5862E8
secondary
#E8E4B4
accent
#CA0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5862E8

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

Preview Lab → · Contrast checker → · Palette generator →

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