#5987E7#5987E7

#5987E7 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.6% C 0.153 H 263.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5987E7
RGBrgb(89, 135, 231)
HSLhsl(221, 75%, 63%)
HSVhsv(221, 61%, 91%)
CMYKcmyk(61.5%, 41.6%, 0%, 9.4%)
CIE-LABlab(57.29, 13.61, -53.37)
CIE-LCHlch(57.29, 55.08, 284.30°)
OKLaboklab(63.63% -0.0176 -0.152)
OKLCHoklch(63.63% 0.153 263.4)
XYZxyz(27.2026, 25.2189, 79.0200)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987E7 #E7B959
analogous
#59CEE7 #5987E7 #7259E7
triadic
#5987E7 #E75987 #87E759
tetradic
#5987E7 #E759CE #E7B959 #59E772
square
#5987E7 #E759CE #E7B959 #59E772
split-complementary
#5987E7 #E77259 #CEE759
monochromatic
#1949AD #2460DF #5987E7 #8EAEEF #C4D4F6

Accessibility & contrast

On white

3.47
#5987E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5987E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987E7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987E7#FFFFFF#000000##000000
##5987E71.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EB
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5987e7;
/* rgb */ color: rgb(89, 135, 231);
/* oklch */ color: oklch(63.6% 0.153 263.4);
Tailwind
colors: {
  custom: {
    50: '#94a9ef',
    500: '#5987e7',
    950: '#000000',
  },
}
SCSS
$custom: #5987e7;
$custom-light: #94a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5987e7",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 220.563,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63628,
    "c": 0.15304,
    "h": 263.4
  },
  "luminance": 0.25221
}

Semantic roles & 50–950 ramp

primary
#5987E7
secondary
#E8D7B4
accent
#960FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5987E7

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

Preview Lab → · Contrast checker → · Palette generator →

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