#5866E1#5866E1

#5866E1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.186 H 274.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5866E1
RGBrgb(88, 102, 225)
HSLhsl(234, 70%, 61%)
HSVhsv(234, 61%, 88%)
CMYKcmyk(60.9%, 54.7%, 0%, 11.8%)
CIE-LABlab(48.27, 31.62, -64.49)
CIE-LCHlch(48.27, 71.82, 296.12°)
OKLaboklab(56.64% 0.0129 -0.1851)
OKLCHoklch(56.64% 0.186 274)
XYZxyz(22.3620, 17.0119, 73.3248)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866E1 #E1D358
analogous
#58ABE1 #5866E1 #8F58E1
triadic
#5866E1 #E15866 #66E158
tetradic
#5866E1 #E158AB #E1D358 #58E18F
square
#5866E1 #E158AB #E1D358 #58E18F
split-complementary
#5866E1 #E18F58 #ABE158
monochromatic
#1D2BA2 #2638D5 #5866E1 #8C96EA #C0C5F4

Accessibility & contrast

On white

4.77
#5866E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5866E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866E1#FFFFFF#000000##FFFFFF
##5866E11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0279E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5866e1;
/* rgb */ color: rgb(88, 102, 225);
/* oklch */ color: oklch(56.6% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#9491eb',
    500: '#5866e1',
    950: '#000000',
  },
}
SCSS
$custom: #5866e1;
$custom-light: #9491eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5866e1",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 233.869,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.18556,
    "h": 274
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#5866E1
secondary
#E4DFB1
accent
#BE14D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5866E1

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

Preview Lab → · Contrast checker → · Palette generator →

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