#5987CD#5987CD

#5987CD is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.1% C 0.118 H 258.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5987CD
RGBrgb(89, 135, 205)
HSLhsl(216, 54%, 58%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(56.6%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.94, 5.04, -40.92)
CIE-LCHlch(55.94, 41.23, 277.02°)
OKLaboklab(62.15% -0.0234 -0.1156)
OKLCHoklch(62.15% 0.118 258.5)
XYZxyz(23.7994, 23.8576, 61.0966)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987CD #CD9F59
analogous
#59C1CD #5987CD #6559CD
triadic
#5987CD #CD5987 #87CD59
tetradic
#5987CD #CD59C1 #CD9F59 #59CD65
square
#5987CD #CD59C1 #CD9F59 #59CD65
split-complementary
#5987CD #CD6559 #C1CD59
monochromatic
#284C84 #3667B3 #5987CD #88A9DB #B7CBE9

Accessibility & contrast

On white

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

On black

5.77
#5987CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987CD#FFFFFF#000000##000000
##5987CD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5987cd;
/* rgb */ color: rgb(89, 135, 205);
/* oklch */ color: oklch(62.1% 0.118 258.5);
Tailwind
colors: {
  custom: {
    50: '#90a9dc',
    500: '#5987cd',
    950: '#000000',
  },
}
SCSS
$custom: #5987cd;
$custom-light: #90a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5987cd",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 216.207,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62149,
    "c": 0.11795,
    "h": 258.5
  },
  "luminance": 0.2386
}

Semantic roles & 50–950 ramp

primary
#5987CD
secondary
#D8C6AA
accent
#A34BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5987CD

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

Preview Lab → · Contrast checker → · Palette generator →

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