#5987EB#5987EB

#5987EB is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.158 H 263.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5987EB
RGBrgb(89, 135, 235)
HSLhsl(221, 78%, 64%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(62.1%, 42.6%, 0%, 7.8%)
CIE-LABlab(57.51, 14.95, -55.24)
CIE-LCHlch(57.51, 57.23, 285.14°)
OKLaboklab(63.87% -0.0169 -0.1575)
OKLCHoklch(63.87% 0.158 263.9)
XYZxyz(27.7740, 25.4474, 82.0293)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987EB #EBBD59
analogous
#59D0EB #5987EB #7459EB
triadic
#5987EB #EB5987 #87EB59
tetradic
#5987EB #EB59D0 #EBBD59 #59EB74
square
#5987EB #EB59D0 #EBBD59 #59EB74
split-complementary
#5987EB #EB7459 #D0EB59
monochromatic
#1648B4 #2260E4 #5987EB #90AEF2 #C6D6F8

Accessibility & contrast

On white

3.45
#5987EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5987EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987EB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987EB#FFFFFF#000000##000000
##5987EB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5987eb;
/* rgb */ color: rgb(89, 135, 235);
/* oklch */ color: oklch(63.9% 0.158 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a9f2',
    500: '#5987eb',
    950: '#000000',
  },
}
SCSS
$custom: #5987eb;
$custom-light: #94a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5987eb",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 221.096,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.15842,
    "h": 263.9
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#5987EB
secondary
#EAD9B6
accent
#990BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5987EB

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

Preview Lab → · Contrast checker → · Palette generator →

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