#5887D2#5887D2

#5887D2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.4% C 0.125 H 259.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5887D2
RGBrgb(88, 135, 210)
HSLhsl(217, 58%, 58%)
HSVhsv(217, 58%, 82%)
CMYKcmyk(58.1%, 35.7%, 0%, 17.6%)
CIE-LABlab(56.14, 6.46, -43.43)
CIE-LCHlch(56.14, 43.91, 278.46°)
OKLaboklab(62.37% -0.023 -0.1229)
OKLCHoklch(62.37% 0.125 259.4)
XYZxyz(24.3173, 24.0537, 64.3216)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887D2 #D2A358
analogous
#58C4D2 #5887D2 #6658D2
triadic
#5887D2 #D25887 #87D258
tetradic
#5887D2 #D258C4 #D2A358 #58D266
square
#5887D2 #D258C4 #D2A358 #58D266
split-complementary
#5887D2 #D26658 #C4D258
monochromatic
#254C8A #3267BB #5887D2 #88AADF #B8CCEC

Accessibility & contrast

On white

3.61
#5887D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5887D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887D2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887D2#FFFFFF#000000##000000
##5887D21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD5
Deuteranopia (green-blind)
#5881D0
Tritanopia (blue-blind)
#0098A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5887d2;
/* rgb */ color: rgb(88, 135, 210);
/* oklch */ color: oklch(62.4% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#90a9e0',
    500: '#5887d2',
    950: '#000000',
  },
}
SCSS
$custom: #5887d2;
$custom-light: #90a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5887d2",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 216.885,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6237,
    "c": 0.12508,
    "h": 259.4
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#5887D2
secondary
#DBC8AB
accent
#A647E1
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5887D2

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

Preview Lab → · Contrast checker → · Palette generator →

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