#5866E6#5866E6

#5866E6 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.192 H 273.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5866E6
RGBrgb(88, 102, 230)
HSLhsl(234, 74%, 62%)
HSVhsv(234, 62%, 90%)
CMYKcmyk(61.7%, 55.7%, 0%, 9.8%)
CIE-LABlab(48.62, 33.28, -66.75)
CIE-LCHlch(48.62, 74.58, 296.50°)
OKLaboklab(57.01% 0.0131 -0.1918)
OKLCHoklch(57.01% 0.192 273.9)
XYZxyz(23.0541, 17.2887, 76.9697)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866E6 #E6D858
analogous
#58ADE6 #5866E6 #9158E6
triadic
#5866E6 #E65866 #66E658
tetradic
#5866E6 #E658AD #E6D858 #58E691
square
#5866E6 #E658AD #E6D858 #58E691
split-complementary
#5866E6 #E69158 #ADE658
monochromatic
#1928AA #2335DE #5866E6 #8D97EE #C2C8F6

Accessibility & contrast

On white

4.71
#5866E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5866E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866E6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866E6#FFFFFF#000000##FFFFFF
##5866E61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5866e6;
/* rgb */ color: rgb(88, 102, 230);
/* oklch */ color: oklch(57.0% 0.192 273.9);
Tailwind
colors: {
  custom: {
    50: '#9491ef',
    500: '#5866e6',
    950: '#000000',
  },
}
SCSS
$custom: #5866e6;
$custom-light: #9491ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5866e6",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 234.085,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.1922,
    "h": 273.9
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#5866E6
secondary
#E7E2B3
accent
#C20FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866E6

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

Preview Lab → · Contrast checker → · Palette generator →

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