#5987ED#5987ED

#5987ED is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.161 H 264.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5987ED
RGBrgb(89, 135, 237)
HSLhsl(221, 80%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.4%, 43%, 0%, 7.1%)
CIE-LABlab(57.62, 15.62, -56.18)
CIE-LCHlch(57.62, 58.31, 285.54°)
OKLaboklab(63.99% -0.0165 -0.1602)
OKLCHoklch(63.99% 0.161 264.1)
XYZxyz(28.0645, 25.5637, 83.5597)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987ED #EDBF59
analogous
#59D1ED #5987ED #7559ED
triadic
#5987ED #ED5987 #87ED59
tetradic
#5987ED #ED59D1 #EDBF59 #59ED75
square
#5987ED #ED59D1 #EDBF59 #59ED75
split-complementary
#5987ED #ED7559 #D1ED59
monochromatic
#1447B8 #225FE7 #5987ED #90AFF3 #C7D7F9

Accessibility & contrast

On white

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

On black

6.11
#5987ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987ED
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987ED#FFFFFF#000000##000000
##5987ED1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5987ed;
/* rgb */ color: rgb(89, 135, 237);
/* oklch */ color: oklch(64.0% 0.161 264.1);
Tailwind
colors: {
  custom: {
    50: '#95a9f3',
    500: '#5987ed',
    950: '#000000',
  },
}
SCSS
$custom: #5987ed;
$custom-light: #95a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ed",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 221.351,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.1611,
    "h": 264.1
  },
  "luminance": 0.25566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5987ED

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

Preview Lab → · Contrast checker → · Palette generator →

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