#5862DD#5862DD

#5862DD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.6% C 0.185 H 275.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5862DD
RGBrgb(88, 98, 221)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 60%, 87%)
CMYKcmyk(60.2%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.01, 32.76, -64.26)
CIE-LCHlch(47.01, 72.13, 297.01°)
OKLaboklab(55.61% 0.0165 -0.1845)
OKLCHoklch(55.61% 0.185 275.1)
XYZxyz(21.4391, 16.0288, 70.3567)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862DD #DDD358
analogous
#58A4DD #5862DD #9058DD
triadic
#5862DD #DD5862 #62DD58
tetradic
#5862DD #DD58A4 #DDD358 #58DD90
square
#5862DD #DD58A4 #DDD358 #58DD90
split-complementary
#5862DD #DD9058 #A4DD58
monochromatic
#20299B #2A36CE #5862DD #8B92E7 #BEC2F2

Accessibility & contrast

On white

4.99
#5862DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5862DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862DD#FFFFFF#000000##FFFFFF
##5862DD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5862dd;
/* rgb */ color: rgb(88, 98, 221);
/* oklch */ color: oklch(55.6% 0.185 275.1);
Tailwind
colors: {
  custom: {
    50: '#938ee8',
    500: '#5862dd',
    950: '#000000',
  },
}
SCSS
$custom: #5862dd;
$custom-light: #938ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5862dd",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 235.489,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.18524,
    "h": 275.1
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#5862DD
secondary
#E2DEAF
accent
#C017CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5862DD

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

Preview Lab → · Contrast checker → · Palette generator →

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