#5988EC#5988EC

#5988EC is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.159 H 263.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5988EC
RGBrgb(89, 136, 236)
HSLhsl(221, 79%, 64%)
HSVhsv(221, 62%, 93%)
CMYKcmyk(62.3%, 42.4%, 0%, 7.5%)
CIE-LABlab(57.83, 14.68, -55.28)
CIE-LCHlch(57.83, 57.20, 284.87°)
OKLaboklab(64.14% -0.0177 -0.1576)
OKLCHoklch(64.14% 0.159 263.6)
XYZxyz(28.0590, 25.7857, 82.8391)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988EC #ECBD59
analogous
#59D1EC #5988EC #7359EC
triadic
#5988EC #EC5988 #88EC59
tetradic
#5988EC #EC59D1 #ECBD59 #59EC73
square
#5988EC #EC59D1 #ECBD59 #59EC73
split-complementary
#5988EC #EC7359 #D1EC59
monochromatic
#1548B6 #2261E6 #5988EC #90AFF2 #C7D7F9

Accessibility & contrast

On white

3.41
#5988EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5988EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988EC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988EC#FFFFFF#000000##000000
##5988EC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5988ec;
/* rgb */ color: rgb(89, 136, 236);
/* oklch */ color: oklch(64.1% 0.159 263.6);
Tailwind
colors: {
  custom: {
    50: '#95aaf3',
    500: '#5988ec',
    950: '#000000',
  },
}
SCSS
$custom: #5988ec;
$custom-light: #95aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5988ec",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 220.816,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.1586,
    "h": 263.6
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#5988EC
secondary
#EADAB6
accent
#990ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5988EC

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

Preview Lab → · Contrast checker → · Palette generator →

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