#5986EE#5986EE

#5986EE is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.164 H 264.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5986EE
RGBrgb(89, 134, 238)
HSLhsl(222, 81%, 64%)
HSVhsv(222, 63%, 93%)
CMYKcmyk(62.6%, 43.7%, 0%, 6.7%)
CIE-LABlab(57.41, 16.56, -57.07)
CIE-LCHlch(57.41, 59.42, 286.18°)
OKLaboklab(63.85% -0.0154 -0.1629)
OKLCHoklch(63.85% 0.164 264.6)
XYZxyz(28.0722, 25.3445, 84.2849)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986EE #EEC159
analogous
#59D1EE #5986EE #7759EE
triadic
#5986EE #EE5986 #86EE59
tetradic
#5986EE #EE59D1 #EEC159 #59EE77
square
#5986EE #EE59D1 #EEC159 #59EE77
split-complementary
#5986EE #EE7759 #D1EE59
monochromatic
#1345BA #215EE8 #5986EE #91AEF4 #C8D7F9

Accessibility & contrast

On white

3.46
#5986EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5986EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986EE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986EE#FFFFFF#000000##000000
##5986EE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#3D83EC
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5986ee;
/* rgb */ color: rgb(89, 134, 238);
/* oklch */ color: oklch(63.8% 0.164 264.6);
Tailwind
colors: {
  custom: {
    50: '#95a8f4',
    500: '#5986ee',
    950: '#000000',
  },
}
SCSS
$custom: #5986ee;
$custom-light: #95a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ee",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 221.879,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.16361,
    "h": 264.6
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#5986EE
secondary
#EBDCB7
accent
#9D08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5986EE

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

Preview Lab → · Contrast checker → · Palette generator →

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