#5887D9#5887D9

#5887D9 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.135 H 260.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5887D9
RGBrgb(88, 135, 217)
HSLhsl(218, 63%, 60%)
HSVhsv(218, 59%, 85%)
CMYKcmyk(59.4%, 37.8%, 0%, 14.9%)
CIE-LABlab(56.50, 8.76, -46.81)
CIE-LCHlch(56.50, 47.62, 280.60°)
OKLaboklab(62.76% -0.0214 -0.1328)
OKLCHoklch(62.76% 0.135 260.8)
XYZxyz(25.2085, 24.4102, 69.0154)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887D9 #D9AA58
analogous
#58C7D9 #5887D9 #6A58D9
triadic
#5887D9 #D95887 #87D958
tetradic
#5887D9 #D958C7 #D9AA58 #58D96A
square
#5887D9 #D958C7 #D9AA58 #58D96A
split-complementary
#5887D9 #D96A58 #C7D958
monochromatic
#224C95 #2D65C7 #5887D9 #8AABE4 #BCCFF0

Accessibility & contrast

On white

3.57
#5887D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5887D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887D9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887D9#FFFFFF#000000##000000
##5887D91.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDC
Deuteranopia (green-blind)
#5382D7
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5887d9;
/* rgb */ color: rgb(88, 135, 217);
/* oklch */ color: oklch(62.8% 0.135 260.8);
Tailwind
colors: {
  custom: {
    50: '#91a9e5',
    500: '#5887d9',
    950: '#000000',
  },
}
SCSS
$custom: #5887d9;
$custom-light: #91a9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5887d9",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 218.14,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.13451,
    "h": 260.8
  },
  "luminance": 0.24412
}

Semantic roles & 50–950 ramp

primary
#5887D9
secondary
#DFCDAD
accent
#AA42E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5887D9

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

Preview Lab → · Contrast checker → · Palette generator →

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