#5986D4#5986D4

#5986D4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.128 H 260.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5986D4
RGBrgb(89, 134, 212)
HSLhsl(218, 59%, 59%)
HSVhsv(218, 58%, 83%)
CMYKcmyk(58%, 36.8%, 0%, 16.9%)
CIE-LABlab(56.01, 7.91, -44.76)
CIE-LCHlch(56.01, 45.45, 280.03°)
OKLaboklab(62.32% -0.0206 -0.1268)
OKLCHoklch(62.32% 0.128 260.8)
XYZxyz(24.5245, 23.9255, 65.6003)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986D4 #D4A759
analogous
#59C4D4 #5986D4 #6A59D4
triadic
#5986D4 #D45986 #86D459
tetradic
#5986D4 #D459C4 #D4A759 #59D46A
square
#5986D4 #D459C4 #D4A759 #59D46A
split-complementary
#5986D4 #D46A59 #C4D459
monochromatic
#254B8E #3165BE #5986D4 #8AA9E1 #BACDED

Accessibility & contrast

On white

3.63
#5986D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5986D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986D4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986D4#FFFFFF#000000##000000
##5986D41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD7
Deuteranopia (green-blind)
#5581D2
Tritanopia (blue-blind)
#0097A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5986d4;
/* rgb */ color: rgb(89, 134, 212);
/* oklch */ color: oklch(62.3% 0.128 260.8);
Tailwind
colors: {
  custom: {
    50: '#91a8e1',
    500: '#5986d4',
    950: '#000000',
  },
}
SCSS
$custom: #5986d4;
$custom-light: #91a8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5986d4",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 212
  },
  "hsl": {
    "h": 218.049,
    "s": 58.852,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.12847,
    "h": 260.8
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#5986D4
secondary
#DDCBAC
accent
#A946E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5986D4

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

Preview Lab → · Contrast checker → · Palette generator →

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