#5866E8#5866E8

#5866E8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.195 H 273.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5866E8
RGBrgb(88, 102, 232)
HSLhsl(234, 76%, 63%)
HSVhsv(234, 62%, 91%)
CMYKcmyk(62.1%, 56%, 0%, 9%)
CIE-LABlab(48.76, 33.94, -67.64)
CIE-LCHlch(48.76, 75.68, 296.65°)
OKLaboklab(57.16% 0.0131 -0.1944)
OKLCHoklch(57.16% 0.195 273.9)
XYZxyz(23.3366, 17.4017, 78.4574)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866E8 #E8DA58
analogous
#58AEE8 #5866E8 #9258E8
triadic
#5866E8 #E85866 #66E858
tetradic
#5866E8 #E858AE #E8DA58 #58E892
square
#5866E8 #E858AE #E8DA58 #58E892
split-complementary
#5866E8 #E89258 #AEE858
monochromatic
#1826AE #2235E1 #5866E8 #8E97EF #C4C9F7

Accessibility & contrast

On white

4.69
#5866E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5866E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5866E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866E8#FFFFFF#000000##FFFFFF
##5866E81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5866e8;
/* rgb */ color: rgb(88, 102, 232);
/* oklch */ color: oklch(57.2% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#9591f0',
    500: '#5866e8',
    950: '#000000',
  },
}
SCSS
$custom: #5866e8;
$custom-light: #9591f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5866e8",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 234.167,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.19484,
    "h": 273.9
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#5866E8
secondary
#E8E3B4
accent
#C40ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5866E8

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

Preview Lab → · Contrast checker → · Palette generator →

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