#5987BC#5987BC

#5987BC is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.095 H 252.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5987BC
RGBrgb(89, 135, 188)
HSLhsl(212, 42%, 54%)
HSVhsv(212, 53%, 74%)
CMYKcmyk(52.7%, 28.2%, 0%, 26.3%)
CIE-LABlab(55.16, -0.37, -32.51)
CIE-LCHlch(55.16, 32.51, 269.34°)
OKLaboklab(61.27% -0.0282 -0.0912)
OKLCHoklch(61.27% 0.095 252.8)
XYZxyz(21.8577, 23.0809, 50.8704)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987BC #BC8E59
analogous
#59B9BC #5987BC #5D59BC
triadic
#5987BC #BC5987 #87BC59
tetradic
#5987BC #BC59B9 #BC8E59 #59BC5D
square
#5987BC #BC59B9 #BC8E59 #59BC5D
split-complementary
#5987BC #BC5D59 #B9BC59
monochromatic
#2C4B6E #3E699A #5987BC #85A7CE #B0C6DF

Accessibility & contrast

On white

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

On black

5.62
#5987BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987BC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987BC#FFFFFF#000000##000000
##5987BC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5987bc;
/* rgb */ color: rgb(89, 135, 188);
/* oklch */ color: oklch(61.3% 0.095 252.8);
Tailwind
colors: {
  custom: {
    50: '#8ea9d0',
    500: '#5987bc',
    950: '#000000',
  },
}
SCSS
$custom: #5987bc;
$custom-light: #8ea9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5987bc",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 212.121,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.09547,
    "h": 252.8
  },
  "luminance": 0.23083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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