#5866C8#5866C8

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

Color values

HEX#5866C8
RGBrgb(88, 102, 200)
HSLhsl(233, 50%, 56%)
HSVhsv(233, 56%, 78%)
CMYKcmyk(56%, 49%, 0%, 21.6%)
CIE-LABlab(46.64, 23.37, -52.87)
CIE-LCHlch(46.64, 57.80, 293.84°)
OKLaboklab(54.89% 0.0111 -0.1509)
OKLCHoklch(54.89% 0.151 274.2)
XYZxyz(19.1978, 15.7462, 56.6601)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866C8 #C8BA58
analogous
#589EC8 #5866C8 #8258C8
triadic
#5866C8 #C85866 #66C858
tetradic
#5866C8 #C8589E #C8BA58 #58C882
square
#5866C8 #C8589E #C8BA58 #58C882
split-complementary
#5866C8 #C88258 #9EC858
monochromatic
#29337D #3846AB #5866C8 #8690D7 #B4BAE6

Accessibility & contrast

On white

5.06
#5866C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5866C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866C8#FFFFFF#000000##FFFFFF
##5866C81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3673CC
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#187C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5866c8;
/* rgb */ color: rgb(88, 102, 200);
/* oklch */ color: oklch(54.9% 0.151 274.2);
Tailwind
colors: {
  custom: {
    50: '#9091d9',
    500: '#5866c8',
    950: '#000000',
  },
}
SCSS
$custom: #5866c8;
$custom-light: #9091d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5866c8",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 232.5,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.15135,
    "h": 274.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#5866C8
secondary
#D5CFA7
accent
#C84EDA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5866C8

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

Preview Lab → · Contrast checker → · Palette generator →

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