#5986C8#5986C8

#5986C8 is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.112 H 257.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5986C8
RGBrgb(89, 134, 200)
HSLhsl(216, 50%, 57%)
HSVhsv(216, 56%, 78%)
CMYKcmyk(55.5%, 33%, 0%, 21.6%)
CIE-LABlab(55.42, 4.02, -38.91)
CIE-LCHlch(55.42, 39.12, 275.90°)
OKLaboklab(61.66% -0.0236 -0.1098)
OKLCHoklch(61.66% 0.112 257.9)
XYZxyz(23.0666, 23.3423, 57.9224)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986C8 #C89B59
analogous
#59BDC8 #5986C8 #6459C8
triadic
#5986C8 #C85986 #86C859
tetradic
#5986C8 #C859BD #C89B59 #59C864
square
#5986C8 #C859BD #C89B59 #59C864
split-complementary
#5986C8 #C86459 #BDC859
monochromatic
#294B7D #3967AB #5986C8 #87A8D7 #B5C9E6

Accessibility & contrast

On white

3.70
#5986C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5986C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986C8#FFFFFF#000000##000000
##5986C81.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCB
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#0D959E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986c8;
/* rgb */ color: rgb(89, 134, 200);
/* oklch */ color: oklch(61.7% 0.112 257.9);
Tailwind
colors: {
  custom: {
    50: '#8fa8d9',
    500: '#5986c8',
    950: '#000000',
  },
}
SCSS
$custom: #5986c8;
$custom-light: #8fa8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5986c8",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 200
  },
  "hsl": {
    "h": 215.676,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.11227,
    "h": 257.9
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#5986C8
secondary
#D5C3A8
accent
#A14EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5986C8

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

Preview Lab → · Contrast checker → · Palette generator →

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