#5986CE#5986CE

#5986CE is a mid, vivid blue. Relative luminance 0.236; OKLCH L 62.0% C 0.120 H 259.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5986CE
RGBrgb(89, 134, 206)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 57%, 81%)
CMYKcmyk(56.8%, 35%, 0%, 19.2%)
CIE-LABlab(55.71, 5.96, -41.85)
CIE-LCHlch(55.71, 42.27, 278.10°)
OKLaboklab(61.99% -0.0221 -0.1183)
OKLCHoklch(61.99% 0.12 259.4)
XYZxyz(23.7816, 23.6283, 61.6880)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986CE #CEA159
analogous
#59C1CE #5986CE #6659CE
triadic
#5986CE #CE5986 #86CE59
tetradic
#5986CE #CE59C1 #CEA159 #59CE66
square
#5986CE #CE59C1 #CEA159 #59CE66
split-complementary
#5986CE #CE6659 #C1CE59
monochromatic
#274B85 #3566B5 #5986CE #88A8DC #B8CBEA

Accessibility & contrast

On white

3.67
#5986CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5986CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986CE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986CE#FFFFFF#000000##000000
##5986CE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986ce;
/* rgb */ color: rgb(89, 134, 206);
/* oklch */ color: oklch(62.0% 0.120 259.4);
Tailwind
colors: {
  custom: {
    50: '#90a8dd',
    500: '#5986ce',
    950: '#000000',
  },
}
SCSS
$custom: #5986ce;
$custom-light: #90a8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ce",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 216.923,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.12035,
    "h": 259.4
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#5986CE
secondary
#D9C7AA
accent
#A54ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5986CE

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

Preview Lab → · Contrast checker → · Palette generator →

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