#5886EF#5886EF

#5886EF is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.165 H 264.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5886EF
RGBrgb(88, 134, 239)
HSLhsl(222, 83%, 64%)
HSVhsv(222, 63%, 94%)
CMYKcmyk(63.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(57.42, 16.72, -57.61)
CIE-LCHlch(57.42, 59.99, 286.19°)
OKLaboklab(63.86% -0.0161 -0.1645)
OKLCHoklch(63.86% 0.165 264.4)
XYZxyz(28.1242, 25.3543, 85.0564)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5886EF #EFC158
analogous
#58D2EF #5886EF #7658EF
triadic
#5886EF #EF5886 #86EF58
tetradic
#5886EF #EF58D2 #EFC158 #58EF76
square
#5886EF #EF58D2 #EFC158 #58EF76
split-complementary
#5886EF #EF7658 #D2EF58
monochromatic
#1245BB #205EEA #5886EF #90AEF4 #C8D7FA

Accessibility & contrast

On white

3.46
#5886EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5886EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5886EF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5886EF#FFFFFF#000000##000000
##5886EF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#3B83ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5886ef;
/* rgb */ color: rgb(88, 134, 239);
/* oklch */ color: oklch(63.9% 0.165 264.4);
Tailwind
colors: {
  custom: {
    50: '#95a8f5',
    500: '#5886ef',
    950: '#000000',
  },
}
SCSS
$custom: #5886ef;
$custom-light: #95a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5886ef",
  "rgb": {
    "r": 88,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 221.722,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.16529,
    "h": 264.4
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#5886EF
secondary
#ECDCB7
accent
#9D07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5886EF

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

Preview Lab → · Contrast checker → · Palette generator →

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