#5987CA#5987CA

#5987CA is a mid, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.114 H 257.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5987CA
RGBrgb(89, 135, 202)
HSLhsl(216, 52%, 57%)
HSVhsv(216, 56%, 79%)
CMYKcmyk(55.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.80, 4.07, -39.45)
CIE-LCHlch(55.80, 39.66, 275.89°)
OKLaboklab(61.99% -0.0242 -0.1113)
OKLCHoklch(61.99% 0.114 257.7)
XYZxyz(23.4408, 23.7142, 59.2077)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987CA #CA9C59
analogous
#59C0CA #5987CA #6459CA
triadic
#5987CA #CA5987 #87CA59
tetradic
#5987CA #CA59C0 #CA9C59 #59CA64
square
#5987CA #CA59C0 #CA9C59 #59CA64
split-complementary
#5987CA #CA6459 #C0CA59
monochromatic
#294C80 #3868AE #5987CA #87A9D9 #B6CAE8

Accessibility & contrast

On white

3.66
#5987CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5987CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987CA#FFFFFF#000000##000000
##5987CA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#04969F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5987ca;
/* rgb */ color: rgb(89, 135, 202);
/* oklch */ color: oklch(62.0% 0.114 257.7);
Tailwind
colors: {
  custom: {
    50: '#90a9da',
    500: '#5987ca',
    950: '#000000',
  },
}
SCSS
$custom: #5987ca;
$custom-light: #90a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5987ca",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 215.575,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.11392,
    "h": 257.7
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#5987CA
secondary
#D6C4A8
accent
#A14DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5987CA

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

Preview Lab → · Contrast checker → · Palette generator →

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