#5987F4#5987F4

#5987F4 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.4% C 0.170 H 264.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5987F4
RGBrgb(89, 135, 244)
HSLhsl(222, 88%, 65%)
HSVhsv(222, 64%, 96%)
CMYKcmyk(63.5%, 44.7%, 0%, 4.3%)
CIE-LABlab(58.02, 17.98, -59.42)
CIE-LCHlch(58.02, 62.08, 286.83°)
OKLaboklab(64.43% -0.0154 -0.1698)
OKLCHoklch(64.43% 0.17 264.8)
XYZxyz(29.1073, 25.9808, 89.0513)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987F4 #F4C659
analogous
#59D4F4 #5987F4 #7959F4
triadic
#5987F4 #F45987 #87F459
tetradic
#5987F4 #F459D4 #F4C659 #59F479
square
#5987F4 #F459D4 #F4C659 #59F479
split-complementary
#5987F4 #F47959 #D4F459
monochromatic
#0D44C6 #205EF0 #5987F4 #92B0F8 #CCDAFC

Accessibility & contrast

On white

3.39
#5987F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5987F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987F4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987F4#FFFFFF#000000##000000
##5987F41.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5987f4;
/* rgb */ color: rgb(89, 135, 244);
/* oklch */ color: oklch(64.4% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#96a9f8',
    500: '#5987f4',
    950: '#000000',
  },
}
SCSS
$custom: #5987f4;
$custom-light: #96a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5987f4",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 222.194,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.17047,
    "h": 264.8
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

primary
#5987F4
secondary
#EFDFBA
accent
#A101E4
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5987F4

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

Preview Lab → · Contrast checker → · Palette generator →

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