#5987CB#5987CB

#5987CB is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.0% C 0.115 H 258.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5987CB
RGBrgb(89, 135, 203)
HSLhsl(216, 52%, 57%)
HSVhsv(216, 56%, 80%)
CMYKcmyk(56.2%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.85, 4.39, -39.94)
CIE-LCHlch(55.85, 40.18, 276.28°)
OKLaboklab(62.04% -0.0239 -0.1127)
OKLCHoklch(62.04% 0.115 258)
XYZxyz(23.5595, 23.7617, 59.8333)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987CB #CB9D59
analogous
#59C0CB #5987CB #6459CB
triadic
#5987CB #CB5987 #87CB59
tetradic
#5987CB #CB59C0 #CB9D59 #59CB64
square
#5987CB #CB59C0 #CB9D59 #59CB64
split-complementary
#5987CB #CB6459 #C0CB59
monochromatic
#284C81 #3768B0 #5987CB #88A9DA #B6CAE8

Accessibility & contrast

On white

3.65
#5987CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5987CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987CB#FFFFFF#000000##000000
##5987CB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5987cb;
/* rgb */ color: rgb(89, 135, 203);
/* oklch */ color: oklch(62.0% 0.115 258.0);
Tailwind
colors: {
  custom: {
    50: '#90a9db',
    500: '#5987cb',
    950: '#000000',
  },
}
SCSS
$custom: #5987cb;
$custom-light: #90a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#5987cb",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 215.789,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.11527,
    "h": 258
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#5987CB
secondary
#D7C4A9
accent
#A24CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5987CB

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

Preview Lab → · Contrast checker → · Palette generator →

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