#5862DE#5862DE

#5862DE is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.187 H 275.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5862DE
RGBrgb(88, 98, 222)
HSLhsl(236, 67%, 61%)
HSVhsv(236, 60%, 87%)
CMYKcmyk(60.4%, 55.9%, 0%, 12.9%)
CIE-LABlab(47.08, 33.09, -64.72)
CIE-LCHlch(47.08, 72.69, 297.08°)
OKLaboklab(55.69% 0.0165 -0.1858)
OKLCHoklch(55.69% 0.187 275.1)
XYZxyz(21.5727, 16.0823, 71.0605)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862DE #DED458
analogous
#58A5DE #5862DE #9158DE
triadic
#5862DE #DE5862 #62DE58
tetradic
#5862DE #DE58A5 #DED458 #58DE91
square
#5862DE #DE58A5 #DED458 #58DE91
split-complementary
#5862DE #DE9158 #A5DE58
monochromatic
#1F289D #2935D0 #5862DE #8B92E8 #BEC2F2

Accessibility & contrast

On white

4.98
#5862DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5862DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862DE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862DE#FFFFFF#000000##FFFFFF
##5862DE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5862de;
/* rgb */ color: rgb(88, 98, 222);
/* oklch */ color: oklch(55.7% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#938ee9',
    500: '#5862de',
    950: '#000000',
  },
}
SCSS
$custom: #5862de;
$custom-light: #938ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5862de",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 235.522,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.18657,
    "h": 275.1
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#5862DE
secondary
#E2DEB0
accent
#C117CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5862DE

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

Preview Lab → · Contrast checker → · Palette generator →

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