#5986C7#5986C7

#5986C7 is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.6% C 0.111 H 257.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5986C7
RGBrgb(89, 134, 199)
HSLhsl(215, 50%, 56%)
HSVhsv(215, 55%, 78%)
CMYKcmyk(55.3%, 32.7%, 0%, 22%)
CIE-LABlab(55.38, 3.70, -38.42)
CIE-LCHlch(55.38, 38.60, 275.50°)
OKLaboklab(61.61% -0.0239 -0.1083)
OKLCHoklch(61.61% 0.111 257.6)
XYZxyz(22.9501, 23.2957, 57.3089)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986C7 #C79A59
analogous
#59BDC7 #5986C7 #6359C7
triadic
#5986C7 #C75986 #86C759
tetradic
#5986C7 #C759BD #C79A59 #59C763
square
#5986C7 #C759BD #C79A59 #59C763
split-complementary
#5986C7 #C76359 #BDC759
monochromatic
#2A4B7C #3967AA #5986C7 #87A7D6 #B5C9E6

Accessibility & contrast

On white

3.71
#5986C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5986C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986C7#FFFFFF#000000##000000
##5986C71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ACA
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#10959D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986c7;
/* rgb */ color: rgb(89, 134, 199);
/* oklch */ color: oklch(61.6% 0.111 257.6);
Tailwind
colors: {
  custom: {
    50: '#8fa8d8',
    500: '#5986c7',
    950: '#000000',
  },
}
SCSS
$custom: #5986c7;
$custom-light: #8fa8d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5986c7",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 199
  },
  "hsl": {
    "h": 215.455,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.11093,
    "h": 257.6
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#5986C7
secondary
#D4C2A7
accent
#A04FD9
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5986C7

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

Preview Lab → · Contrast checker → · Palette generator →

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