#5862CB#5862CB

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

Color values

HEX#5862CB
RGBrgb(88, 98, 203)
HSLhsl(235, 53%, 57%)
HSVhsv(235, 57%, 80%)
CMYKcmyk(56.7%, 51.7%, 0%, 20.4%)
CIE-LABlab(45.80, 26.84, -55.95)
CIE-LCHlch(45.80, 62.05, 295.63°)
OKLaboklab(54.32% 0.0156 -0.16)
OKLCHoklch(54.32% 0.161 275.6)
XYZxyz(19.1682, 15.1205, 58.3968)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5862CB #CBC158
analogous
#589BCB #5862CB #8858CB
triadic
#5862CB #CB5862 #62CB58
tetradic
#5862CB #CB589B #CBC158 #58CB88
square
#5862CB #CB589B #CBC158 #58CB88
split-complementary
#5862CB #CB8858 #9BCB58
monochromatic
#283081 #3741AF #5862CB #878EDA #B5BAE8

Accessibility & contrast

On white

5.22
#5862CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5862CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5862CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5862CB#FFFFFF#000000##FFFFFF
##5862CB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#137A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5862cb;
/* rgb */ color: rgb(88, 98, 203);
/* oklch */ color: oklch(54.3% 0.161 275.6);
Tailwind
colors: {
  custom: {
    50: '#908edb',
    500: '#5862cb',
    950: '#000000',
  },
}
SCSS
$custom: #5862cb;
$custom-light: #908edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5862cb",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 234.783,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.16079,
    "h": 275.6
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#5862CB
secondary
#D7D3A8
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5862CB

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

Preview Lab → · Contrast checker → · Palette generator →

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