#5986E5#5986E5

#5986E5 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.151 H 263.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5986E5
RGBrgb(89, 134, 229)
HSLhsl(221, 73%, 62%)
HSVhsv(221, 61%, 90%)
CMYKcmyk(61.1%, 41.5%, 0%, 10.2%)
CIE-LABlab(56.91, 13.54, -52.86)
CIE-LCHlch(56.91, 54.57, 284.37°)
OKLaboklab(63.3% -0.017 -0.1505)
OKLCHoklch(63.3% 0.152 263.6)
XYZxyz(26.7829, 24.8288, 77.4946)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986E5 #E5B859
analogous
#59CCE5 #5986E5 #7259E5
triadic
#5986E5 #E55986 #86E559
tetradic
#5986E5 #E559CC #E5B859 #59E572
square
#5986E5 #E559CC #E5B859 #59E572
split-complementary
#5986E5 #E57259 #CCE559
monochromatic
#1A48A9 #245FDD #5986E5 #8EADED #C3D3F6

Accessibility & contrast

On white

3.52
#5986E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5986E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986E5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986E5#FFFFFF#000000##000000
##5986E51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#4783E3
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5986e5;
/* rgb */ color: rgb(89, 134, 229);
/* oklch */ color: oklch(63.3% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#93a8ee',
    500: '#5986e5',
    950: '#000000',
  },
}
SCSS
$custom: #5986e5;
$custom-light: #93a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5986e5",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 220.714,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.633,
    "c": 0.1515,
    "h": 263.6
  },
  "luminance": 0.24831
}

Semantic roles & 50–950 ramp

primary
#5986E5
secondary
#E6D6B3
accent
#9610D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5986E5

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

Preview Lab → · Contrast checker → · Palette generator →

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