#5987BB#5987BB

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

Color values

HEX#5987BB
RGBrgb(89, 135, 187)
HSLhsl(212, 42%, 54%)
HSVhsv(212, 52%, 73%)
CMYKcmyk(52.4%, 27.8%, 0%, 26.7%)
CIE-LABlab(55.11, -0.69, -32.01)
CIE-LCHlch(55.11, 32.01, 268.77°)
OKLaboklab(61.22% -0.0285 -0.0897)
OKLCHoklch(61.22% 0.094 252.4)
XYZxyz(21.7503, 23.0380, 50.3047)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987BB #BB8D59
analogous
#59B8BB #5987BB #5C59BB
triadic
#5987BB #BB5987 #87BB59
tetradic
#5987BB #BB59B8 #BB8D59 #59BB5C
square
#5987BB #BB59B8 #BB8D59 #59BB5C
split-complementary
#5987BB #BB5C59 #B8BB59
monochromatic
#2D4B6D #3E6998 #5987BB #84A6CD #B0C6DF

Accessibility & contrast

On white

3.74
#5987BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5987BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987BB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987BB#FFFFFF#000000##000000
##5987BB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#249399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5987bb;
/* rgb */ color: rgb(89, 135, 187);
/* oklch */ color: oklch(61.2% 0.094 252.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9cf',
    500: '#5987bb',
    950: '#000000',
  },
}
SCSS
$custom: #5987bb;
$custom-light: #8ea9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5987bb",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 211.837,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.09418,
    "h": 252.4
  },
  "luminance": 0.2304
}

Semantic roles & 50–950 ramp

primary
#5987BB
secondary
#CDB9A3
accent
#9856D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5987BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5987BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva