#5987BF#5987BF

#5987BF is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.099 H 254.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5987BF
RGBrgb(89, 135, 191)
HSLhsl(213, 44%, 55%)
HSVhsv(213, 53%, 75%)
CMYKcmyk(53.4%, 29.3%, 0%, 25.1%)
CIE-LABlab(55.29, 0.57, -34.01)
CIE-LCHlch(55.29, 34.01, 270.96°)
OKLaboklab(61.42% -0.0273 -0.0955)
OKLCHoklch(61.42% 0.099 254)
XYZxyz(22.1845, 23.2116, 52.5914)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987BF #BF9159
analogous
#59BABF #5987BF #5E59BF
triadic
#5987BF #BF5987 #87BF59
tetradic
#5987BF #BF59BA #BF9159 #59BF5E
square
#5987BF #BF59BA #BF9159 #59BF5E
split-complementary
#5987BF #BF5E59 #BABF59
monochromatic
#2C4B72 #3D699E #5987BF #85A7D0 #B1C7E1

Accessibility & contrast

On white

3.72
#5987BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5987BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987BF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987BF#FFFFFF#000000##000000
##5987BF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#708AC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#1F949B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5987bf;
/* rgb */ color: rgb(89, 135, 191);
/* oklch */ color: oklch(61.4% 0.099 254.0);
Tailwind
colors: {
  custom: {
    50: '#8ea9d2',
    500: '#5987bf',
    950: '#000000',
  },
}
SCSS
$custom: #5987bf;
$custom-light: #8ea9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5987bf",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 212.941,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.09936,
    "h": 254
  },
  "luminance": 0.23213
}

Semantic roles & 50–950 ramp

primary
#5987BF
secondary
#CFBCA4
accent
#9A54D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5987BF

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

Preview Lab → · Contrast checker → · Palette generator →

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