#5866CA#5866CA

#5866CA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.154 H 274.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5866CA
RGBrgb(88, 102, 202)
HSLhsl(233, 52%, 57%)
HSVhsv(233, 56%, 79%)
CMYKcmyk(56.4%, 49.5%, 0%, 20.8%)
CIE-LABlab(46.76, 24.02, -53.82)
CIE-LCHlch(46.76, 58.94, 294.05°)
OKLaboklab(55.03% 0.0113 -0.1537)
OKLCHoklch(55.03% 0.154 274.2)
XYZxyz(19.4331, 15.8403, 57.8991)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866CA #CABC58
analogous
#589FCA #5866CA #8358CA
triadic
#5866CA #CA5866 #66CA58
tetradic
#5866CA #CA589F #CABC58 #58CA83
square
#5866CA #CA589F #CABC58 #58CA83
split-complementary
#5866CA #CA8358 #9FCA58
monochromatic
#28337F #3746AE #5866CA #8691D9 #B5BBE7

Accessibility & contrast

On white

5.04
#5866CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5866CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866CA#FFFFFF#000000##FFFFFF
##5866CA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#137C8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5866ca;
/* rgb */ color: rgb(88, 102, 202);
/* oklch */ color: oklch(55.0% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#9091db',
    500: '#5866ca',
    950: '#000000',
  },
}
SCSS
$custom: #5866ca;
$custom-light: #9091db;
$custom-dark: #000000;
JSON
{
  "hex": "#5866ca",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 232.632,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.15415,
    "h": 274.2
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#5866CA
secondary
#D6D0A8
accent
#CA4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5866CA

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

Preview Lab → · Contrast checker → · Palette generator →

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