#5986CC#5986CC

#5986CC is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.9% C 0.118 H 258.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5986CC
RGBrgb(89, 134, 204)
HSLhsl(217, 53%, 57%)
HSVhsv(217, 56%, 80%)
CMYKcmyk(56.4%, 34.3%, 0%, 20%)
CIE-LABlab(55.62, 5.31, -40.87)
CIE-LCHlch(55.62, 41.21, 277.40°)
OKLaboklab(61.88% -0.0226 -0.1155)
OKLCHoklch(61.88% 0.118 258.9)
XYZxyz(23.5402, 23.5318, 60.4166)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986CC #CC9F59
analogous
#59BFCC #5986CC #6659CC
triadic
#5986CC #CC5986 #86CC59
tetradic
#5986CC #CC59BF #CC9F59 #59CC66
square
#5986CC #CC59BF #CC9F59 #59CC66
split-complementary
#5986CC #CC6659 #BFCC59
monochromatic
#284B83 #3667B1 #5986CC #88A8DA #B7CAE9

Accessibility & contrast

On white

3.68
#5986CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5986CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986CC#FFFFFF#000000##000000
##5986CC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#5B80CB
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986cc;
/* rgb */ color: rgb(89, 134, 204);
/* oklch */ color: oklch(61.9% 0.118 258.9);
Tailwind
colors: {
  custom: {
    50: '#90a8dc',
    500: '#5986cc',
    950: '#000000',
  },
}
SCSS
$custom: #5986cc;
$custom-light: #90a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5986cc",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 216.522,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.11766,
    "h": 258.9
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#5986CC
secondary
#D8C5A9
accent
#A44BDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5986CC

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

Preview Lab → · Contrast checker → · Palette generator →

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