#5887BC#5887BC

#5887BC is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.096 H 252.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5887BC
RGBrgb(88, 135, 188)
HSLhsl(212, 43%, 54%)
HSVhsv(212, 53%, 74%)
CMYKcmyk(53.2%, 28.2%, 0%, 26.3%)
CIE-LABlab(55.11, -0.60, -32.59)
CIE-LCHlch(55.11, 32.60, 268.94°)
OKLaboklab(61.22% -0.0291 -0.0914)
OKLCHoklch(61.22% 0.096 252.3)
XYZxyz(21.7624, 23.0318, 50.8660)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887BC #BC8D58
analogous
#58B9BC #5887BC #5B58BC
triadic
#5887BC #BC5887 #87BC58
tetradic
#5887BC #BC58B9 #BC8D58 #58BC5B
square
#5887BC #BC58B9 #BC8D58 #58BC5B
split-complementary
#5887BC #BC5B58 #B9BC58
monochromatic
#2C4B6E #3E6999 #5887BC #84A6CE #AFC6DF

Accessibility & contrast

On white

3.75
#5887BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5887BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887BC#FFFFFF#000000##000000
##5887BC1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BE
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#1F9399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5887bc;
/* rgb */ color: rgb(88, 135, 188);
/* oklch */ color: oklch(61.2% 0.096 252.3);
Tailwind
colors: {
  custom: {
    50: '#8ea9d0',
    500: '#5887bc',
    950: '#000000',
  },
}
SCSS
$custom: #5887bc;
$custom-light: #8ea9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5887bc",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 211.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.09597,
    "h": 252.3
  },
  "luminance": 0.23033
}

Semantic roles & 50–950 ramp

primary
#5887BC
secondary
#CDB9A3
accent
#9855D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5887BC

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

Preview Lab → · Contrast checker → · Palette generator →

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