#5887EC#5887EC

#5887EC is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.160 H 263.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5887EC
RGBrgb(88, 135, 236)
HSLhsl(221, 80%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(62.7%, 42.8%, 0%, 7.5%)
CIE-LABlab(57.52, 15.11, -55.79)
CIE-LCHlch(57.52, 57.80, 285.15°)
OKLaboklab(63.88% -0.0176 -0.1591)
OKLCHoklch(63.88% 0.16 263.7)
XYZxyz(27.8235, 25.4562, 82.7879)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887EC #ECBD58
analogous
#58D1EC #5887EC #7358EC
triadic
#5887EC #EC5887 #87EC58
tetradic
#5887EC #EC58D1 #ECBD58 #58EC73
square
#5887EC #EC58D1 #ECBD58 #58EC73
split-complementary
#5887EC #EC7358 #D1EC58
monochromatic
#1548B5 #2160E6 #5887EC #8FAEF2 #C6D6F9

Accessibility & contrast

On white

3.45
#5887EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5887EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887EC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887EC#FFFFFF#000000##000000
##5887EC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#4184EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5887ec;
/* rgb */ color: rgb(88, 135, 236);
/* oklch */ color: oklch(63.9% 0.160 263.7);
Tailwind
colors: {
  custom: {
    50: '#94a9f3',
    500: '#5887ec',
    950: '#000000',
  },
}
SCSS
$custom: #5887ec;
$custom-light: #94a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5887ec",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 220.946,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.1601,
    "h": 263.7
  },
  "luminance": 0.25459
}

Semantic roles & 50–950 ramp

primary
#5887EC
secondary
#EAD9B6
accent
#990ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5887EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5887EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva