#5866CC#5866CC

#5866CC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.157 H 274.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5866CC
RGBrgb(88, 102, 204)
HSLhsl(233, 53%, 57%)
HSVhsv(233, 57%, 80%)
CMYKcmyk(56.9%, 50%, 0%, 20%)
CIE-LABlab(46.89, 24.68, -54.76)
CIE-LCHlch(46.89, 60.07, 294.26°)
OKLaboklab(55.16% 0.0115 -0.1565)
OKLCHoklch(55.16% 0.157 274.2)
XYZxyz(19.6714, 15.9356, 59.1543)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866CC #CCBE58
analogous
#58A0CC #5866CC #8458CC
triadic
#5866CC #CC5866 #66CC58
tetradic
#5866CC #CC58A0 #CCBE58 #58CC84
square
#5866CC #CC58A0 #CCBE58 #58CC84
split-complementary
#5866CC #CC8458 #A0CC58
monochromatic
#283382 #3645B1 #5866CC #8791DA #B6BCE9

Accessibility & contrast

On white

5.02
#5866CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5866CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866CC#FFFFFF#000000##FFFFFF
##5866CC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#0E7D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5866cc;
/* rgb */ color: rgb(88, 102, 204);
/* oklch */ color: oklch(55.2% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#9091dc',
    500: '#5866cc',
    950: '#000000',
  },
}
SCSS
$custom: #5866cc;
$custom-light: #9091dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5866cc",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 232.759,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.15693,
    "h": 274.2
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#5866CC
secondary
#D7D2A8
accent
#CB4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5866CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5866CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva