#5887A2#5887A2

#5887A2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.0% C 0.066 H 234.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5887A2
RGBrgb(88, 135, 162)
HSLhsl(202, 30%, 49%)
HSVhsv(202, 46%, 64%)
CMYKcmyk(45.7%, 16.7%, 0%, 36.5%)
CIE-LABlab(54.04, -8.47, -19.33)
CIE-LCHlch(54.04, 21.10, 246.33°)
OKLaboklab(60.02% -0.038 -0.0535)
OKLCHoklch(60.02% 0.066 234.6)
XYZxyz(19.2078, 22.0099, 37.4116)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887A2 #A27358
analogous
#58A298 #5887A2 #5862A2
triadic
#5887A2 #A25887 #87A258
tetradic
#5887A2 #9858A2 #A27358 #62A258
square
#5887A2 #9858A2 #A27358 #62A258
split-complementary
#5887A2 #A25862 #A29858
monochromatic
#2D4553 #42667A #5887A2 #7EA4B9 #A6C0CF

Accessibility & contrast

On white

3.89
#5887A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5887A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887A2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887A2#FFFFFF#000000##000000
##5887A21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A3
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#388E90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5887a2;
/* rgb */ color: rgb(88, 135, 162);
/* oklch */ color: oklch(60.0% 0.066 234.6);
Tailwind
colors: {
  custom: {
    50: '#8baabd',
    500: '#5887a2',
    950: '#000000',
  },
}
SCSS
$custom: #5887a2;
$custom-light: #8baabd;
$custom-dark: #000000;
JSON
{
  "hex": "#5887a2",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 201.892,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.06563,
    "h": 234.6
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#5887A2
secondary
#BCA699
accent
#8662C6
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #5887A2

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

Preview Lab → · Contrast checker → · Palette generator →

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