#5987CC#5987CC

#5987CC is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.117 H 258.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5987CC
RGBrgb(89, 135, 204)
HSLhsl(216, 53%, 57%)
HSVhsv(216, 56%, 80%)
CMYKcmyk(56.4%, 33.8%, 0%, 20%)
CIE-LABlab(55.90, 4.72, -40.43)
CIE-LCHlch(55.90, 40.70, 276.65°)
OKLaboklab(62.1% -0.0237 -0.1142)
OKLCHoklch(62.1% 0.117 258.3)
XYZxyz(23.6791, 23.8095, 60.4629)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987CC #CC9E59
analogous
#59C0CC #5987CC #6559CC
triadic
#5987CC #CC5987 #87CC59
tetradic
#5987CC #CC59C0 #CC9E59 #59CC65
square
#5987CC #CC59C0 #CC9E59 #59CC65
split-complementary
#5987CC #CC6559 #C0CC59
monochromatic
#284C83 #3668B1 #5987CC #88A9DA #B7CBE9

Accessibility & contrast

On white

3.64
#5987CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5987CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987CC#FFFFFF#000000##000000
##5987CC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5987cc;
/* rgb */ color: rgb(89, 135, 204);
/* oklch */ color: oklch(62.1% 0.117 258.3);
Tailwind
colors: {
  custom: {
    50: '#90a9dc',
    500: '#5987cc',
    950: '#000000',
  },
}
SCSS
$custom: #5987cc;
$custom-light: #90a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5987cc",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 216,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.1166,
    "h": 258.3
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#5987CC
secondary
#D8C5A9
accent
#A24BDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5987CC

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

Preview Lab → · Contrast checker → · Palette generator →

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