#5987FE#5987FE

#5987FE is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.1% C 0.184 H 265.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5987FE
RGBrgb(89, 135, 254)
HSLhsl(223, 99%, 67%)
HSVhsv(223, 65%, 100%)
CMYKcmyk(65%, 46.9%, 0%, 0.4%)
CIE-LABlab(58.61, 21.36, -63.99)
CIE-LCHlch(58.61, 67.46, 288.46°)
OKLaboklab(65.07% -0.0139 -0.1832)
OKLCHoklch(65.07% 0.184 265.7)
XYZxyz(30.6670, 26.6046, 97.2658)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987FE #FED059
analogous
#59D9FE #5987FE #7E59FE
triadic
#5987FE #FE5987 #87FE59
tetradic
#5987FE #FE59D9 #FED059 #59FE7E
square
#5987FE #FE59D9 #FED059 #59FE7E
split-complementary
#5987FE #FE7E59 #D9FE59
monochromatic
#013EDB #1C5BFE #5987FE #96B3FE #D3DFFF

Accessibility & contrast

On white

3.32
#5987FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5987FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987FE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987FE#FFFFFF#000000##000000
##5987FE1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#2686FC
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5987fe;
/* rgb */ color: rgb(89, 135, 254);
/* oklch */ color: oklch(65.1% 0.184 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a9ff',
    500: '#5987fe',
    950: '#000000',
  },
}
SCSS
$custom: #5987fe;
$custom-light: #97a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5987fe",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 223.273,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.18374,
    "h": 265.7
  },
  "luminance": 0.26608
}

Semantic roles & 50–950 ramp

primary
#5987FE
secondary
#F3E5BF
accent
#A600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5987FE

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

Preview Lab → · Contrast checker → · Palette generator →

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