#5987EE#5987EE

#5987EE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.162 H 264.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5987EE
RGBrgb(89, 135, 238)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(62.6%, 43.3%, 0%, 6.7%)
CIE-LABlab(57.68, 15.95, -56.64)
CIE-LCHlch(57.68, 58.85, 285.73°)
OKLaboklab(64.05% -0.0164 -0.1616)
OKLCHoklch(64.05% 0.162 264.2)
XYZxyz(28.2111, 25.6223, 84.3312)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987EE #EEC059
analogous
#59D1EE #5987EE #7659EE
triadic
#5987EE #EE5987 #87EE59
tetradic
#5987EE #EE59D1 #EEC059 #59EE76
square
#5987EE #EE59D1 #EEC059 #59EE76
split-complementary
#5987EE #EE7659 #D1EE59
monochromatic
#1346BA #215FE8 #5987EE #91AFF4 #C8D7F9

Accessibility & contrast

On white

3.43
#5987EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5987EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987EE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987EE#FFFFFF#000000##000000
##5987EE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5987ee;
/* rgb */ color: rgb(89, 135, 238);
/* oklch */ color: oklch(64.1% 0.162 264.2);
Tailwind
colors: {
  custom: {
    50: '#95a9f4',
    500: '#5987ee',
    950: '#000000',
  },
}
SCSS
$custom: #5987ee;
$custom-light: #95a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ee",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 221.477,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.16245,
    "h": 264.2
  },
  "luminance": 0.25625
}

Semantic roles & 50–950 ramp

primary
#5987EE
secondary
#EBDBB7
accent
#9C08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5987EE

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

Preview Lab → · Contrast checker → · Palette generator →

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