#5987C8#5987C8

#5987C8 is a mid, moderate blue. Relative luminance 0.236; OKLCH L 61.9% C 0.111 H 257.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5987C8
RGBrgb(89, 135, 200)
HSLhsl(215, 50%, 57%)
HSVhsv(215, 56%, 78%)
CMYKcmyk(55.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.71, 3.43, -38.47)
CIE-LCHlch(55.71, 38.62, 275.09°)
OKLaboklab(61.88% -0.0248 -0.1085)
OKLCHoklch(61.88% 0.111 257.1)
XYZxyz(23.2055, 23.6200, 57.9686)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987C8 #C89A59
analogous
#59BFC8 #5987C8 #6359C8
triadic
#5987C8 #C85987 #87C859
tetradic
#5987C8 #C859BF #C89A59 #59C863
square
#5987C8 #C859BF #C89A59 #59C863
split-complementary
#5987C8 #C86359 #BFC859
monochromatic
#294C7D #3968AB #5987C8 #87A8D7 #B5C9E6

Accessibility & contrast

On white

3.67
#5987C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5987C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987C8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987C8#FFFFFF#000000##000000
##5987C81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BCB
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#0C969E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5987c8;
/* rgb */ color: rgb(89, 135, 200);
/* oklch */ color: oklch(61.9% 0.111 257.1);
Tailwind
colors: {
  custom: {
    50: '#8fa9d9',
    500: '#5987c8',
    950: '#000000',
  },
}
SCSS
$custom: #5987c8;
$custom-light: #8fa9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5987c8",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 215.135,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.11125,
    "h": 257.1
  },
  "luminance": 0.23622
}

Semantic roles & 50–950 ramp

primary
#5987C8
secondary
#D5C2A8
accent
#A04EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5987C8

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

Preview Lab → · Contrast checker → · Palette generator →

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