#5986DC#5986DC

#5986DC is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.139 H 262.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5986DC
RGBrgb(89, 134, 220)
HSLhsl(219, 65%, 61%)
HSVhsv(219, 60%, 86%)
CMYKcmyk(59.5%, 39.1%, 0%, 13.7%)
CIE-LABlab(56.43, 10.55, -48.60)
CIE-LCHlch(56.43, 49.73, 282.25°)
OKLaboklab(62.77% -0.0188 -0.138)
OKLCHoklch(62.77% 0.139 262.2)
XYZxyz(25.5587, 24.3391, 71.0473)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986DC #DCAF59
analogous
#59C8DC #5986DC #6D59DC
triadic
#5986DC #DC5986 #86DC59
tetradic
#5986DC #DC59C8 #DCAF59 #59DC6D
square
#5986DC #DC59C8 #DCAF59 #59DC6D
split-complementary
#5986DC #DC6D59 #C8DC59
monochromatic
#204A9A #2B63CD #5986DC #8CABE7 #BED0F1

Accessibility & contrast

On white

3.58
#5986DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5986DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986DC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986DC#FFFFFF#000000##000000
##5986DC1.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)
#618EDF
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5986dc;
/* rgb */ color: rgb(89, 134, 220);
/* oklch */ color: oklch(62.8% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#92a8e7',
    500: '#5986dc',
    950: '#000000',
  },
}
SCSS
$custom: #5986dc;
$custom-light: #92a8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5986dc",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 219.389,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.13932,
    "h": 262.2
  },
  "luminance": 0.24341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5986DC

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

Preview Lab → · Contrast checker → · Palette generator →

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