#5862CD#5862CD

#5862CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.164 H 275.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5862CD
RGBrgb(88, 98, 205)
HSLhsl(235, 54%, 57%)
HSVhsv(235, 57%, 80%)
CMYKcmyk(57.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.93, 27.50, -56.88)
CIE-LCHlch(45.93, 63.18, 295.80°)
OKLaboklab(54.46% 0.0158 -0.1628)
OKLCHoklch(54.46% 0.164 275.5)
XYZxyz(19.4081, 15.2165, 59.6601)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862CD #CDC358
analogous
#589CCD #5862CD #8958CD
triadic
#5862CD #CD5862 #62CD58
tetradic
#5862CD #CD589C #CDC358 #58CD89
square
#5862CD #CD589C #CDC358 #58CD89
split-complementary
#5862CD #CD8958 #9CCD58
monochromatic
#272F83 #3540B2 #5862CD #878EDB #B6BBE9

Accessibility & contrast

On white

5.19
#5862CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5862CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862CD#FFFFFF#000000##FFFFFF
##5862CD1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#0D7A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5862cd;
/* rgb */ color: rgb(88, 98, 205);
/* oklch */ color: oklch(54.5% 0.164 275.5);
Tailwind
colors: {
  custom: {
    50: '#918edd',
    500: '#5862cd',
    950: '#000000',
  },
}
SCSS
$custom: #5862cd;
$custom-light: #918edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5862cd",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 234.872,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.16355,
    "h": 275.5
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#5862CD
secondary
#D8D4A9
accent
#D14BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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