#5987E5#5987E5

#5987E5 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.150 H 263.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5987E5
RGBrgb(89, 135, 229)
HSLhsl(220, 73%, 62%)
HSVhsv(220, 61%, 90%)
CMYKcmyk(61.1%, 41%, 0%, 10.2%)
CIE-LABlab(57.18, 12.94, -52.43)
CIE-LCHlch(57.18, 54.00, 283.86°)
OKLaboklab(63.51% -0.018 -0.1493)
OKLCHoklch(63.51% 0.15 263.1)
XYZxyz(26.9217, 25.1065, 77.5409)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987E5 #E5B759
analogous
#59CDE5 #5987E5 #7159E5
triadic
#5987E5 #E55987 #87E559
tetradic
#5987E5 #E559CD #E5B759 #59E571
square
#5987E5 #E559CD #E5B759 #59E571
split-complementary
#5987E5 #E57159 #CDE559
monochromatic
#1A49A9 #2461DD #5987E5 #8EADED #C3D3F6

Accessibility & contrast

On white

3.49
#5987E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5987E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987E5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987E5#FFFFFF#000000##000000
##5987E51.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E9
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5987e5;
/* rgb */ color: rgb(89, 135, 229);
/* oklch */ color: oklch(63.5% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#93a9ee',
    500: '#5987e5',
    950: '#000000',
  },
}
SCSS
$custom: #5987e5;
$custom-light: #93a9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5987e5",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 220.286,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.15034,
    "h": 263.1
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

primary
#5987E5
secondary
#E6D6B3
accent
#9410D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5987E5

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

Preview Lab → · Contrast checker → · Palette generator →

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