#5887CC#5887CC

#5887CC is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.0% C 0.117 H 257.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5887CC
RGBrgb(88, 135, 204)
HSLhsl(216, 53%, 57%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(56.9%, 33.8%, 0%, 20%)
CIE-LABlab(55.85, 4.51, -40.51)
CIE-LCHlch(55.85, 40.76, 276.35°)
OKLaboklab(62.04% -0.0246 -0.1144)
OKLCHoklch(62.04% 0.117 257.9)
XYZxyz(23.5838, 23.7603, 60.4584)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887CC #CC9D58
analogous
#58C1CC #5887CC #6358CC
triadic
#5887CC #CC5887 #87CC58
tetradic
#5887CC #CC58C1 #CC9D58 #58CC63
square
#5887CC #CC58C1 #CC9D58 #58CC63
split-complementary
#5887CC #CC6358 #C1CC58
monochromatic
#284C82 #3668B1 #5887CC #87A9DA #B6CAE9

Accessibility & contrast

On white

3.65
#5887CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5887CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887CC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887CC#FFFFFF#000000##000000
##5887CC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5887cc;
/* rgb */ color: rgb(88, 135, 204);
/* oklch */ color: oklch(62.0% 0.117 257.9);
Tailwind
colors: {
  custom: {
    50: '#8fa9dc',
    500: '#5887cc',
    950: '#000000',
  },
}
SCSS
$custom: #5887cc;
$custom-light: #8fa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5887cc",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 215.69,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.11704,
    "h": 257.9
  },
  "luminance": 0.23762
}

Semantic roles & 50–950 ramp

primary
#5887CC
secondary
#D7C4A8
accent
#A24BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5887CC

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

Preview Lab → · Contrast checker → · Palette generator →

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