#5986EA#5986EA

#5986EA is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.6% C 0.158 H 264.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5986EA
RGBrgb(89, 134, 234)
HSLhsl(221, 78%, 63%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(62%, 42.7%, 0%, 8.2%)
CIE-LABlab(57.18, 15.21, -55.21)
CIE-LCHlch(57.18, 57.26, 285.41°)
OKLaboklab(63.6% -0.0161 -0.1574)
OKLCHoklch(63.6% 0.158 264.2)
XYZxyz(27.4911, 25.1121, 81.2243)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986EA #EABD59
analogous
#59CFEA #5986EA #7459EA
triadic
#5986EA #EA5986 #86EA59
tetradic
#5986EA #EA59CF #EABD59 #59EA74
square
#5986EA #EA59CF #EABD59 #59EA74
split-complementary
#5986EA #EA7459 #CFEA59
monochromatic
#1747B2 #235EE3 #5986EA #8FAEF1 #C6D5F8

Accessibility & contrast

On white

3.49
#5986EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5986EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986EA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986EA#FFFFFF#000000##000000
##5986EA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5986ea;
/* rgb */ color: rgb(89, 134, 234);
/* oklch */ color: oklch(63.6% 0.158 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a8f1',
    500: '#5986ea',
    950: '#000000',
  },
}
SCSS
$custom: #5986ea;
$custom-light: #94a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ea",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 221.379,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.15824,
    "h": 264.2
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#5986EA
secondary
#E9D9B6
accent
#9A0CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5986EA

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

Preview Lab → · Contrast checker → · Palette generator →

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