#5887CD#5887CD

#5887CD is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.118 H 258.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5887CD
RGBrgb(88, 135, 205)
HSLhsl(216, 54%, 57%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(57.1%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.90, 4.83, -41.00)
CIE-LCHlch(55.90, 41.28, 276.72°)
OKLaboklab(62.1% -0.0243 -0.1158)
OKLCHoklch(62.1% 0.118 258.1)
XYZxyz(23.7041, 23.8085, 61.0921)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887CD #CD9E58
analogous
#58C2CD #5887CD #6358CD
triadic
#5887CD #CD5887 #87CD58
tetradic
#5887CD #CD58C2 #CD9E58 #58CD63
square
#5887CD #CD58C2 #CD9E58 #58CD63
split-complementary
#5887CD #CD6358 #C2CD58
monochromatic
#274C83 #3568B2 #5887CD #87A9DB #B6CBE9

Accessibility & contrast

On white

3.64
#5887CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5887CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887CD#FFFFFF#000000##000000
##5887CD1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5887cd;
/* rgb */ color: rgb(88, 135, 205);
/* oklch */ color: oklch(62.1% 0.118 258.1);
Tailwind
colors: {
  custom: {
    50: '#90a9dc',
    500: '#5887cd',
    950: '#000000',
  },
}
SCSS
$custom: #5887cd;
$custom-light: #90a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5887cd",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 215.897,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.11837,
    "h": 258.1
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5887CD

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

Preview Lab → · Contrast checker → · Palette generator →

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