#5987CE#5987CE

#5987CE is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.2% C 0.119 H 258.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5987CE
RGBrgb(89, 135, 206)
HSLhsl(216, 54%, 58%)
HSVhsv(216, 57%, 81%)
CMYKcmyk(56.8%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.99, 5.36, -41.41)
CIE-LCHlch(55.99, 41.75, 277.38°)
OKLaboklab(62.2% -0.0232 -0.117)
OKLCHoklch(62.2% 0.119 258.8)
XYZxyz(23.9205, 23.9061, 61.7343)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987CE #CEA059
analogous
#59C2CE #5987CE #6559CE
triadic
#5987CE #CE5987 #87CE59
tetradic
#5987CE #CE59C2 #CEA059 #59CE65
square
#5987CE #CE59C2 #CEA059 #59CE65
split-complementary
#5987CE #CE6559 #C2CE59
monochromatic
#274C85 #3567B5 #5987CE #88A9DC #B8CBEA

Accessibility & contrast

On white

3.63
#5987CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5987CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987CE#FFFFFF#000000##000000
##5987CE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#5B81CD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5987ce;
/* rgb */ color: rgb(89, 135, 206);
/* oklch */ color: oklch(62.2% 0.119 258.8);
Tailwind
colors: {
  custom: {
    50: '#90a9dd',
    500: '#5987ce',
    950: '#000000',
  },
}
SCSS
$custom: #5987ce;
$custom-light: #90a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ce",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 216.41,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.11929,
    "h": 258.8
  },
  "luminance": 0.23908
}

Semantic roles & 50–950 ramp

primary
#5987CE
secondary
#D9C6AA
accent
#A44ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5987CE

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

Preview Lab → · Contrast checker → · Palette generator →

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