#5986CD#5986CD

#5986CD is a mid, moderate blue. Relative luminance 0.236; OKLCH L 61.9% C 0.119 H 259.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5986CD
RGBrgb(89, 134, 205)
HSLhsl(217, 54%, 58%)
HSVhsv(217, 57%, 80%)
CMYKcmyk(56.6%, 34.6%, 0%, 19.6%)
CIE-LABlab(55.66, 5.63, -41.36)
CIE-LCHlch(55.66, 41.74, 277.76°)
OKLaboklab(61.93% -0.0223 -0.1169)
OKLCHoklch(61.93% 0.119 259.2)
XYZxyz(23.6605, 23.5799, 61.0503)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986CD #CDA059
analogous
#59C0CD #5986CD #6659CD
triadic
#5986CD #CD5986 #86CD59
tetradic
#5986CD #CD59C0 #CDA059 #59CD66
square
#5986CD #CD59C0 #CDA059 #59CD66
split-complementary
#5986CD #CD6659 #C0CD59
monochromatic
#284B84 #3666B3 #5986CD #88A8DB #B7CBE9

Accessibility & contrast

On white

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

On black

5.72
#5986CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986CD#FFFFFF#000000##000000
##5986CD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5986cd;
/* rgb */ color: rgb(89, 134, 205);
/* oklch */ color: oklch(61.9% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#90a8dc',
    500: '#5986cd',
    950: '#000000',
  },
}
SCSS
$custom: #5986cd;
$custom-light: #90a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5986cd",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 216.724,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.119,
    "h": 259.2
  },
  "luminance": 0.23582
}

Semantic roles & 50–950 ramp

primary
#5986CD
secondary
#D8C6AA
accent
#A44BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5986CD

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

Preview Lab → · Contrast checker → · Palette generator →

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