#5986EF#5986EF

#5986EF is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.165 H 264.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5986EF
RGBrgb(89, 134, 239)
HSLhsl(222, 82%, 64%)
HSVhsv(222, 63%, 94%)
CMYKcmyk(62.8%, 43.9%, 0%, 6.3%)
CIE-LABlab(57.47, 16.89, -57.53)
CIE-LCHlch(57.47, 59.96, 286.36°)
OKLaboklab(63.91% -0.0152 -0.1642)
OKLCHoklch(63.91% 0.165 264.7)
XYZxyz(28.2195, 25.4035, 85.0608)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986EF #EFC259
analogous
#59D1EF #5986EF #7759EF
triadic
#5986EF #EF5986 #86EF59
tetradic
#5986EF #EF59D1 #EFC259 #59EF77
square
#5986EF #EF59D1 #EFC259 #59EF77
split-complementary
#5986EF #EF7759 #D1EF59
monochromatic
#1245BC #215DEA #5986EF #91AFF4 #C9D7FA

Accessibility & contrast

On white

3.45
#5986EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#5986EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986EF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986EF#FFFFFF#000000##000000
##5986EF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#3C84ED
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5986ef;
/* rgb */ color: rgb(89, 134, 239);
/* oklch */ color: oklch(63.9% 0.165 264.7);
Tailwind
colors: {
  custom: {
    50: '#95a8f5',
    500: '#5986ef',
    950: '#000000',
  },
}
SCSS
$custom: #5986ef;
$custom-light: #95a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5986ef",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 222,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.16495,
    "h": 264.7
  },
  "luminance": 0.25406
}

Semantic roles & 50–950 ramp

primary
#5986EF
secondary
#ECDCB8
accent
#9E07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5986EF

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

Preview Lab → · Contrast checker → · Palette generator →

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