#5987D7#5987D7

#5987D7 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.7% C 0.131 H 260.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5987D7
RGBrgb(89, 135, 215)
HSLhsl(218, 61%, 60%)
HSVhsv(218, 59%, 84%)
CMYKcmyk(58.6%, 37.2%, 0%, 15.7%)
CIE-LABlab(56.44, 8.30, -45.77)
CIE-LCHlch(56.44, 46.51, 280.28°)
OKLaboklab(62.7% -0.021 -0.1297)
OKLCHoklch(62.7% 0.131 260.8)
XYZxyz(25.0453, 24.3560, 67.6581)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987D7 #D7A959
analogous
#59C6D7 #5987D7 #6A59D7
triadic
#5987D7 #D75987 #87D759
tetradic
#5987D7 #D759C6 #D7A959 #59D76A
square
#5987D7 #D759C6 #D7A959 #59D76A
split-complementary
#5987D7 #D76A59 #C6D759
monochromatic
#234C92 #2F65C4 #5987D7 #8AABE3 #BCCEEF

Accessibility & contrast

On white

3.58
#5987D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5987D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987D7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987D7#FFFFFF#000000##000000
##5987D71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDA
Deuteranopia (green-blind)
#5582D5
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5987d7;
/* rgb */ color: rgb(89, 135, 215);
/* oklch */ color: oklch(62.7% 0.131 260.8);
Tailwind
colors: {
  custom: {
    50: '#91a9e4',
    500: '#5987d7',
    950: '#000000',
  },
}
SCSS
$custom: #5987d7;
$custom-light: #91a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5987d7",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 218.095,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62699,
    "c": 0.13143,
    "h": 260.8
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#5987D7
secondary
#DECCAD
accent
#AA44E4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5987D7

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

Preview Lab → · Contrast checker → · Palette generator →

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