#5986EC#5986EC

#5986EC is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.161 H 264.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5986EC
RGBrgb(89, 134, 236)
HSLhsl(222, 79%, 64%)
HSVhsv(222, 62%, 93%)
CMYKcmyk(62.3%, 43.2%, 0%, 7.5%)
CIE-LABlab(57.30, 15.89, -56.14)
CIE-LCHlch(57.30, 58.34, 285.80°)
OKLaboklab(63.73% -0.0157 -0.1601)
OKLCHoklch(63.73% 0.161 264.4)
XYZxyz(27.7800, 25.2277, 82.7461)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986EC #ECBF59
analogous
#59CFEC #5986EC #7559EC
triadic
#5986EC #EC5986 #86EC59
tetradic
#5986EC #EC59CF #ECBF59 #59EC75
square
#5986EC #EC59CF #ECBF59 #59EC75
split-complementary
#5986EC #EC7559 #CFEC59
monochromatic
#1546B6 #225EE6 #5986EC #90AEF2 #C7D6F9

Accessibility & contrast

On white

3.47
#5986EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5986EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986EC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986EC#FFFFFF#000000##000000
##5986EC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#4083EA
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5986ec;
/* rgb */ color: rgb(89, 134, 236);
/* oklch */ color: oklch(63.7% 0.161 264.4);
Tailwind
colors: {
  custom: {
    50: '#95a8f3',
    500: '#5986ec',
    950: '#000000',
  },
}
SCSS
$custom: #5986ec;
$custom-light: #95a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ec",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 221.633,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.16092,
    "h": 264.4
  },
  "luminance": 0.2523
}

Semantic roles & 50–950 ramp

primary
#5986EC
secondary
#EADAB6
accent
#9B0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5986EC

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

Preview Lab → · Contrast checker → · Palette generator →

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