#5866CF#5866CF

#5866CF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.161 H 274.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5866CF
RGBrgb(88, 102, 207)
HSLhsl(233, 55%, 58%)
HSVhsv(233, 57%, 81%)
CMYKcmyk(57.5%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.08, 25.67, -56.18)
CIE-LCHlch(47.08, 61.76, 294.56°)
OKLaboklab(55.36% 0.0118 -0.1607)
OKLCHoklch(55.36% 0.161 274.2)
XYZxyz(20.0347, 16.0810, 61.0676)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866CF #CFC158
analogous
#58A2CF #5866CF #8558CF
triadic
#5866CF #CF5866 #66CF58
tetradic
#5866CF #CF58A2 #CFC158 #58CF85
square
#5866CF #CF58A2 #CFC158 #58CF85
split-complementary
#5866CF #CF8558 #A2CF58
monochromatic
#273286 #3443B6 #5866CF #8892DD #B7BDEA

Accessibility & contrast

On white

4.98
#5866CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5866CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866CF#FFFFFF#000000##FFFFFF
##5866CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#166BCD
Tritanopia (blue-blind)
#037E91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5866cf;
/* rgb */ color: rgb(88, 102, 207);
/* oklch */ color: oklch(55.4% 0.161 274.2);
Tailwind
colors: {
  custom: {
    50: '#9191de',
    500: '#5866cf',
    950: '#000000',
  },
}
SCSS
$custom: #5866cf;
$custom-light: #9191de;
$custom-dark: #000000;
JSON
{
  "hex": "#5866cf",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 232.941,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.16109,
    "h": 274.2
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#5866CF
secondary
#D9D4AA
accent
#CD49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5866CF

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

Preview Lab → · Contrast checker → · Palette generator →

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