#5866D8#5866D8

#5866D8 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.173 H 274.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5866D8
RGBrgb(88, 102, 216)
HSLhsl(233, 62%, 60%)
HSVhsv(233, 59%, 85%)
CMYKcmyk(59.3%, 52.8%, 0%, 15.3%)
CIE-LABlab(47.67, 28.64, -60.37)
CIE-LCHlch(47.67, 66.82, 295.38°)
OKLaboklab(55.99% 0.0125 -0.173)
OKLCHoklch(55.99% 0.173 274.1)
XYZxyz(21.1665, 16.5337, 67.0283)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866D8 #D8CA58
analogous
#58A6D8 #5866D8 #8A58D8
triadic
#5866D8 #D85866 #66D858
tetradic
#5866D8 #D858A6 #D8CA58 #58D88A
square
#5866D8 #D858A6 #D8CA58 #58D88A
split-complementary
#5866D8 #D88A58 #A6D858
monochromatic
#222F93 #2E3EC5 #5866D8 #8A93E4 #BBC1EF

Accessibility & contrast

On white

4.88
#5866D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5866D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866D8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866D8#FFFFFF#000000##FFFFFF
##5866D81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5866d8;
/* rgb */ color: rgb(88, 102, 216);
/* oklch */ color: oklch(56.0% 0.173 274.1);
Tailwind
colors: {
  custom: {
    50: '#9291e5',
    500: '#5866d8',
    950: '#000000',
  },
}
SCSS
$custom: #5866d8;
$custom-light: #9291e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5866d8",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 233.438,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.17344,
    "h": 274.1
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#5866D8
secondary
#DFD9AD
accent
#D343E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866D8

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

Preview Lab → · Contrast checker → · Palette generator →

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