#5987DF#5987DF

#5987DF is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.142 H 262.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5987DF
RGBrgb(89, 135, 223)
HSLhsl(219, 68%, 61%)
HSVhsv(219, 60%, 87%)
CMYKcmyk(60.1%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.86, 10.94, -49.59)
CIE-LCHlch(56.86, 50.79, 282.44°)
OKLaboklab(63.16% -0.0192 -0.1409)
OKLCHoklch(63.16% 0.142 262.2)
XYZxyz(26.0985, 24.7772, 73.2049)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5987DF #DFB159
analogous
#59CADF #5987DF #6E59DF
triadic
#5987DF #DF5987 #87DF59
tetradic
#5987DF #DF59CA #DFB159 #59DF6E
square
#5987DF #DF59CA #DFB159 #59DF6E
split-complementary
#5987DF #DF6E59 #CADF59
monochromatic
#1F4B9F #2963D2 #5987DF #8CACE9 #C0D1F3

Accessibility & contrast

On white

3.53
#5987DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5987DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5987DF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5987DF#FFFFFF#000000##000000
##5987DF1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#4E83DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5987df;
/* rgb */ color: rgb(89, 135, 223);
/* oklch */ color: oklch(63.2% 0.142 262.2);
Tailwind
colors: {
  custom: {
    50: '#93a9e9',
    500: '#5987df',
    950: '#000000',
  },
}
SCSS
$custom: #5987df;
$custom-light: #93a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5987df",
  "rgb": {
    "r": 89,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 219.403,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.14224,
    "h": 262.2
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#5987DF
secondary
#E3D2B1
accent
#9016D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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