#5986EB#5986EB

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

Color values

HEX#5986EB
RGBrgb(89, 134, 235)
HSLhsl(222, 78%, 64%)
HSVhsv(222, 62%, 92%)
CMYKcmyk(62.1%, 43%, 0%, 7.8%)
CIE-LABlab(57.24, 15.55, -55.67)
CIE-LCHlch(57.24, 57.80, 285.61°)
OKLaboklab(63.66% -0.0159 -0.1588)
OKLCHoklch(63.66% 0.16 264.3)
XYZxyz(27.6351, 25.1697, 81.9831)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986EB #EBBE59
analogous
#59CFEB #5986EB #7559EB
triadic
#5986EB #EB5986 #86EB59
tetradic
#5986EB #EB59CF #EBBE59 #59EB75
square
#5986EB #EB59CF #EBBE59 #59EB75
split-complementary
#5986EB #EB7559 #CFEB59
monochromatic
#1646B4 #225EE4 #5986EB #90AEF2 #C6D6F8

Accessibility & contrast

On white

3.48
#5986EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5986EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986EB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986EB#FFFFFF#000000##000000
##5986EB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5986eb;
/* rgb */ color: rgb(89, 134, 235);
/* oklch */ color: oklch(63.7% 0.160 264.3);
Tailwind
colors: {
  custom: {
    50: '#94a8f2',
    500: '#5986eb',
    950: '#000000',
  },
}
SCSS
$custom: #5986eb;
$custom-light: #94a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5986eb",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 221.507,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.15958,
    "h": 264.3
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5986EB

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

Preview Lab → · Contrast checker → · Palette generator →

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