#5988DC#5988DC

#5988DC is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.2% C 0.137 H 261.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5988DC
RGBrgb(89, 136, 220)
HSLhsl(218, 65%, 61%)
HSVhsv(218, 60%, 86%)
CMYKcmyk(59.5%, 38.2%, 0%, 13.7%)
CIE-LABlab(56.98, 9.35, -47.73)
CIE-LCHlch(56.98, 48.63, 281.08°)
OKLaboklab(63.2% -0.0209 -0.1355)
OKLCHoklch(63.2% 0.137 261.2)
XYZxyz(25.8378, 24.8972, 71.1403)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988DC #DCAD59
analogous
#59CADC #5988DC #6B59DC
triadic
#5988DC #DC5988 #88DC59
tetradic
#5988DC #DC59CA #DCAD59 #59DC6B
square
#5988DC #DC59CA #DCAD59 #59DC6B
split-complementary
#5988DC #DC6B59 #CADC59
monochromatic
#204C9A #2B65CD #5988DC #8CACE7 #BED0F1

Accessibility & contrast

On white

3.51
#5988DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5988DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988DC#FFFFFF#000000##000000
##5988DC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5988dc;
/* rgb */ color: rgb(89, 136, 220);
/* oklch */ color: oklch(63.2% 0.137 261.2);
Tailwind
colors: {
  custom: {
    50: '#92aae7',
    500: '#5988dc',
    950: '#000000',
  },
}
SCSS
$custom: #5988dc;
$custom-light: #92aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5988dc",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 218.473,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63196,
    "c": 0.13708,
    "h": 261.2
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

primary
#5988DC
secondary
#E1CFAF
accent
#8C18CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5988DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5988DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva