#5887CB#5887CB

#5887CB is a mid, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.116 H 257.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5887CB
RGBrgb(88, 135, 203)
HSLhsl(215, 53%, 57%)
HSVhsv(215, 57%, 80%)
CMYKcmyk(56.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.80, 4.18, -40.02)
CIE-LCHlch(55.80, 40.24, 275.97°)
OKLaboklab(61.99% -0.0248 -0.113)
OKLCHoklch(61.99% 0.116 257.6)
XYZxyz(23.4642, 23.7125, 59.8288)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887CB #CB9C58
analogous
#58C1CB #5887CB #6358CB
triadic
#5887CB #CB5887 #87CB58
tetradic
#5887CB #CB58C1 #CB9C58 #58CB63
square
#5887CB #CB58C1 #CB9C58 #58CB63
split-complementary
#5887CB #CB6358 #C1CB58
monochromatic
#284C81 #3768AF #5887CB #87A9DA #B5CAE8

Accessibility & contrast

On white

3.66
#5887CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5887CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887CB#FFFFFF#000000##000000
##5887CB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5887cb;
/* rgb */ color: rgb(88, 135, 203);
/* oklch */ color: oklch(62.0% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#8fa9db',
    500: '#5887cb',
    950: '#000000',
  },
}
SCSS
$custom: #5887cb;
$custom-light: #8fa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#5887cb",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 215.478,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.1157,
    "h": 257.6
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#5887CB
secondary
#D7C4A8
accent
#A14CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5887CB

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

Preview Lab → · Contrast checker → · Palette generator →

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