#5866E4#5866E4

#5866E4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.9% C 0.190 H 273.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5866E4
RGBrgb(88, 102, 228)
HSLhsl(234, 72%, 62%)
HSVhsv(234, 61%, 89%)
CMYKcmyk(61.4%, 55.3%, 0%, 10.6%)
CIE-LABlab(48.48, 32.62, -65.84)
CIE-LCHlch(48.48, 73.48, 296.35°)
OKLaboklab(56.86% 0.013 -0.1891)
OKLCHoklch(56.86% 0.19 273.9)
XYZxyz(22.7748, 17.1770, 75.4991)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866E4 #E4D658
analogous
#58ACE4 #5866E4 #9058E4
triadic
#5866E4 #E45866 #66E458
tetradic
#5866E4 #E458AC #E4D658 #58E490
square
#5866E4 #E458AC #E4D658 #58E490
split-complementary
#5866E4 #E49058 #ACE458
monochromatic
#1B29A7 #2336DB #5866E4 #8D96ED #C1C7F5

Accessibility & contrast

On white

4.73
#5866E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5866E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866E4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866E4#FFFFFF#000000##FFFFFF
##5866E41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5866e4;
/* rgb */ color: rgb(88, 102, 228);
/* oklch */ color: oklch(56.9% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#9491ed',
    500: '#5866e4',
    950: '#000000',
  },
}
SCSS
$custom: #5866e4;
$custom-light: #9491ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5866e4",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 234,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.18956,
    "h": 273.9
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#5866E4
secondary
#E6E1B2
accent
#C111D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866E4

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

Preview Lab → · Contrast checker → · Palette generator →

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