#5862E9#5862E9

#5862E9 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.5% C 0.201 H 274.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5862E9
RGBrgb(88, 98, 233)
HSLhsl(236, 77%, 63%)
HSVhsv(236, 62%, 91%)
CMYKcmyk(62.2%, 57.9%, 0%, 8.6%)
CIE-LABlab(47.87, 36.71, -69.66)
CIE-LCHlch(47.87, 78.74, 297.79°)
OKLaboklab(56.52% 0.0166 -0.2004)
OKLCHoklch(56.52% 0.201 274.7)
XYZxyz(23.0953, 16.6914, 79.0797)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862E9 #E9DF58
analogous
#58AAE9 #5862E9 #9658E9
triadic
#5862E9 #E95862 #62E958
tetradic
#5862E9 #E958AA #E9DF58 #58E996
square
#5862E9 #E958AA #E9DF58 #58E996
split-complementary
#5862E9 #E99658 #AAE958
monochromatic
#1722AF #222FE2 #5862E9 #8E95F0 #C4C8F7

Accessibility & contrast

On white

4.84
#5862E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5862E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862E9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862E9#FFFFFF#000000##FFFFFF
##5862E91.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5862e9;
/* rgb */ color: rgb(88, 98, 233);
/* oklch */ color: oklch(56.5% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#958ef1',
    500: '#5862e9',
    950: '#000000',
  },
}
SCSS
$custom: #5862e9;
$custom-light: #958ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5862e9",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 235.862,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.20105,
    "h": 274.7
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#5862E9
secondary
#E8E5B4
accent
#CB0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5862E9

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

Preview Lab → · Contrast checker → · Palette generator →

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