#5866EF#5866EF

#5866EF is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.7% C 0.204 H 273.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5866EF
RGBrgb(88, 102, 239)
HSLhsl(234, 83%, 64%)
HSVhsv(234, 63%, 94%)
CMYKcmyk(63.2%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.26, 36.26, -70.76)
CIE-LCHlch(49.26, 79.51, 297.13°)
OKLaboklab(57.69% 0.0132 -0.2036)
OKLCHoklch(57.69% 0.204 273.7)
XYZxyz(24.3507, 17.8074, 83.7985)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5866EF #EFE158
analogous
#58B2EF #5866EF #9658EF
triadic
#5866EF #EF5866 #66EF58
tetradic
#5866EF #EF58B2 #EFE158 #58EF96
square
#5866EF #EF58B2 #EFE158 #58EF96
split-complementary
#5866EF #EF9658 #B2EF58
monochromatic
#1222BB #2033EA #5866EF #9099F4 #C8CCFA

Accessibility & contrast

On white

4.60
#5866EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5866EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5866EF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5866EF#FFFFFF#000000##FFFFFF
##5866EF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5866ef;
/* rgb */ color: rgb(88, 102, 239);
/* oklch */ color: oklch(57.7% 0.204 273.7);
Tailwind
colors: {
  custom: {
    50: '#9691f5',
    500: '#5866ef',
    950: '#000000',
  },
}
SCSS
$custom: #5866ef;
$custom-light: #9691f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5866ef",
  "rgb": {
    "r": 88,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 234.437,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.20401,
    "h": 273.7
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#5866EF
secondary
#ECE7B7
accent
#CB07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5866EF

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

Preview Lab → · Contrast checker → · Palette generator →

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