#5987EA#5987EA

#5987EA is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.157 H 263.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5987EA
RGBrgb(89, 135, 234)
HSLhsl(221, 78%, 63%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(62%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.45, 14.61, -54.78)
CIE-LCHlch(57.45, 56.69, 284.94°)
OKLaboklab(63.81% -0.0171 -0.1561)
OKLCHoklch(63.81% 0.157 263.8)
XYZxyz(27.6299, 25.3898, 81.2706)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987EA #EABC59
analogous
#59CFEA #5987EA #7359EA
triadic
#5987EA #EA5987 #87EA59
tetradic
#5987EA #EA59CF #EABC59 #59EA73
square
#5987EA #EA59CF #EABC59 #59EA73
split-complementary
#5987EA #EA7359 #CFEA59
monochromatic
#1748B2 #2360E3 #5987EA #8FAEF1 #C6D6F8

Accessibility & contrast

On white

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

On black

6.08
#5987EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987EA#FFFFFF#000000##000000
##5987EA1.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)
#5A91EE
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5987ea;
/* rgb */ color: rgb(89, 135, 234);
/* oklch */ color: oklch(63.8% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#94a9f1',
    500: '#5987ea',
    950: '#000000',
  },
}
SCSS
$custom: #5987ea;
$custom-light: #94a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ea",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 220.966,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.15707,
    "h": 263.8
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#5987EA
secondary
#E9D9B6
accent
#980CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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