#5986CB#5986CB

#5986CB is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.8% C 0.116 H 258.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5986CB
RGBrgb(89, 134, 203)
HSLhsl(216, 52%, 57%)
HSVhsv(216, 56%, 80%)
CMYKcmyk(56.2%, 34%, 0%, 20.4%)
CIE-LABlab(55.57, 4.99, -40.38)
CIE-LCHlch(55.57, 40.69, 277.04°)
OKLaboklab(61.82% -0.0228 -0.114)
OKLCHoklch(61.82% 0.116 258.7)
XYZxyz(23.4207, 23.4839, 59.7870)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986CB #CB9E59
analogous
#59BFCB #5986CB #6559CB
triadic
#5986CB #CB5986 #86CB59
tetradic
#5986CB #CB59BF #CB9E59 #59CB65
square
#5986CB #CB59BF #CB9E59 #59CB65
split-complementary
#5986CB #CB6559 #BFCB59
monochromatic
#284B81 #3767B0 #5986CB #88A8DA #B6CAE8

Accessibility & contrast

On white

3.69
#5986CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5986CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986CB#FFFFFF#000000##000000
##5986CB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#01959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5986cb;
/* rgb */ color: rgb(89, 134, 203);
/* oklch */ color: oklch(61.8% 0.116 258.7);
Tailwind
colors: {
  custom: {
    50: '#90a8db',
    500: '#5986cb',
    950: '#000000',
  },
}
SCSS
$custom: #5986cb;
$custom-light: #90a8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5986cb",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 216.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.1163,
    "h": 258.7
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#5986CB
secondary
#D7C5A9
accent
#A34CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5986CB

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

Preview Lab → · Contrast checker → · Palette generator →

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