#5988EE#5988EE

#5988EE is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.161 H 263.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5988EE
RGBrgb(89, 136, 238)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(62.6%, 42.9%, 0%, 6.7%)
CIE-LABlab(57.94, 15.35, -56.21)
CIE-LCHlch(57.94, 58.27, 285.27°)
OKLaboklab(64.26% -0.0173 -0.1603)
OKLCHoklch(64.26% 0.161 263.8)
XYZxyz(28.3512, 25.9026, 84.3780)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988EE #EEBF59
analogous
#59D3EE #5988EE #7559EE
triadic
#5988EE #EE5988 #88EE59
tetradic
#5988EE #EE59D3 #EEBF59 #59EE75
square
#5988EE #EE59D3 #EEBF59 #59EE75
split-complementary
#5988EE #EE7559 #D3EE59
monochromatic
#1348BA #2160E8 #5988EE #91B0F4 #C8D8F9

Accessibility & contrast

On white

3.40
#5988EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5988EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988EE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988EE#FFFFFF#000000##000000
##5988EE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F2
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5988ee;
/* rgb */ color: rgb(89, 136, 238);
/* oklch */ color: oklch(64.3% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#95aaf4',
    500: '#5988ee',
    950: '#000000',
  },
}
SCSS
$custom: #5988ee;
$custom-light: #95aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5988ee",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 221.074,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.16128,
    "h": 263.8
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#5988EE
secondary
#EBDBB7
accent
#9A08DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5988EE

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

Preview Lab → · Contrast checker → · Palette generator →

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