#5987DC#5987DC

#5987DC is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.138 H 261.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5987DC
RGBrgb(89, 135, 220)
HSLhsl(219, 65%, 61%)
HSVhsv(219, 60%, 86%)
CMYKcmyk(59.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.70, 9.95, -48.16)
CIE-LCHlch(56.70, 49.18, 281.67°)
OKLaboklab(62.98% -0.0199 -0.1367)
OKLCHoklch(62.98% 0.138 261.7)
XYZxyz(25.6976, 24.6169, 71.0936)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987DC #DCAE59
analogous
#59C9DC #5987DC #6C59DC
triadic
#5987DC #DC5987 #87DC59
tetradic
#5987DC #DC59C9 #DCAE59 #59DC6C
square
#5987DC #DC59C9 #DCAE59 #59DC6C
split-complementary
#5987DC #DC6C59 #C9DC59
monochromatic
#204B9A #2B64CD #5987DC #8CACE7 #BED0F1

Accessibility & contrast

On white

3.55
#5987DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5987DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987DC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987DC#FFFFFF#000000##000000
##5987DC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FDF
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5987dc;
/* rgb */ color: rgb(89, 135, 220);
/* oklch */ color: oklch(63.0% 0.138 261.7);
Tailwind
colors: {
  custom: {
    50: '#92a9e7',
    500: '#5987dc',
    950: '#000000',
  },
}
SCSS
$custom: #5987dc;
$custom-light: #92a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5987dc",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 218.931,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.13818,
    "h": 261.7
  },
  "luminance": 0.24619
}

Semantic roles & 50–950 ramp

primary
#5987DC
secondary
#E1D0AF
accent
#8E18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5987DC

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

Preview Lab → · Contrast checker → · Palette generator →

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