#5988EB#5988EB

#5988EB is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.1% C 0.157 H 263.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5988EB
RGBrgb(89, 136, 235)
HSLhsl(221, 78%, 64%)
HSVhsv(221, 62%, 92%)
CMYKcmyk(62.1%, 42.1%, 0%, 7.8%)
CIE-LABlab(57.78, 14.34, -54.82)
CIE-LCHlch(57.78, 56.66, 284.67°)
OKLaboklab(64.08% -0.0179 -0.1562)
OKLCHoklch(64.08% 0.157 263.5)
XYZxyz(27.9142, 25.7278, 82.0761)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5988EB #EBBC59
analogous
#59D1EB #5988EB #7359EB
triadic
#5988EB #EB5988 #88EB59
tetradic
#5988EB #EB59D1 #EBBC59 #59EB73
square
#5988EB #EB59D1 #EBBC59 #59EB73
split-complementary
#5988EB #EB7359 #D1EB59
monochromatic
#1649B4 #2261E4 #5988EB #90AFF2 #C6D6F8

Accessibility & contrast

On white

3.42
#5988EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5988EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5988EB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5988EB#FFFFFF#000000##000000
##5988EB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5988eb;
/* rgb */ color: rgb(89, 136, 235);
/* oklch */ color: oklch(64.1% 0.157 263.5);
Tailwind
colors: {
  custom: {
    50: '#94aaf2',
    500: '#5988eb',
    950: '#000000',
  },
}
SCSS
$custom: #5988eb;
$custom-light: #94aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5988eb",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 220.685,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64077,
    "c": 0.15726,
    "h": 263.5
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#5988EB
secondary
#EAD9B6
accent
#980BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5988EB

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

Preview Lab → · Contrast checker → · Palette generator →

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