#5862CA#5862CA

#5862CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.159 H 275.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5862CA
RGBrgb(88, 98, 202)
HSLhsl(235, 52%, 57%)
HSVhsv(235, 56%, 79%)
CMYKcmyk(56.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(45.73, 26.51, -55.47)
CIE-LCHlch(45.73, 61.48, 295.54°)
OKLaboklab(54.25% 0.0156 -0.1586)
OKLCHoklch(54.25% 0.159 275.6)
XYZxyz(19.0494, 15.0730, 57.7712)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862CA #CAC058
analogous
#589BCA #5862CA #8758CA
triadic
#5862CA #CA5862 #62CA58
tetradic
#5862CA #CA589B #CAC058 #58CA87
square
#5862CA #CA589B #CAC058 #58CA87
split-complementary
#5862CA #CA8758 #9BCA58
monochromatic
#28307F #3742AE #5862CA #868ED9 #B5B9E7

Accessibility & contrast

On white

5.23
#5862CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5862CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862CA#FFFFFF#000000##FFFFFF
##5862CA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#157A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5862ca;
/* rgb */ color: rgb(88, 98, 202);
/* oklch */ color: oklch(54.2% 0.159 275.6);
Tailwind
colors: {
  custom: {
    50: '#908edb',
    500: '#5862ca',
    950: '#000000',
  },
}
SCSS
$custom: #5862ca;
$custom-light: #908edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5862ca",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 234.737,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.1594,
    "h": 275.6
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#5862CA
secondary
#D6D2A8
accent
#CF4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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