#5987EC#5987EC

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

Color values

HEX#5987EC
RGBrgb(89, 135, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.3%, 42.8%, 0%, 7.5%)
CIE-LABlab(57.56, 15.28, -55.71)
CIE-LCHlch(57.56, 57.77, 285.34°)
OKLaboklab(63.93% -0.0167 -0.1589)
OKLCHoklch(63.93% 0.16 264)
XYZxyz(27.9189, 25.5054, 82.7924)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987EC #ECBE59
analogous
#59D1EC #5987EC #7459EC
triadic
#5987EC #EC5987 #87EC59
tetradic
#5987EC #EC59D1 #ECBE59 #59EC74
square
#5987EC #EC59D1 #ECBE59 #59EC74
split-complementary
#5987EC #EC7459 #D1EC59
monochromatic
#1547B6 #225FE6 #5987EC #90AFF2 #C7D6F9

Accessibility & contrast

On white

3.44
#5987EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5987EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987EC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987EC#FFFFFF#000000##000000
##5987EC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#4284EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5987ec;
/* rgb */ color: rgb(89, 135, 236);
/* oklch */ color: oklch(63.9% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#95a9f3',
    500: '#5987ec',
    950: '#000000',
  },
}
SCSS
$custom: #5987ec;
$custom-light: #95a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ec",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 221.224,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63931,
    "c": 0.15976,
    "h": 264
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#5987EC
secondary
#EADAB6
accent
#9A0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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