#5887EE#5887EE

#5887EE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.0% C 0.163 H 263.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5887EE
RGBrgb(88, 135, 238)
HSLhsl(221, 82%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(63%, 43.3%, 0%, 6.7%)
CIE-LABlab(57.63, 15.78, -56.72)
CIE-LCHlch(57.63, 58.87, 285.55°)
OKLaboklab(64.01% -0.0172 -0.1619)
OKLCHoklch(64.01% 0.163 263.9)
XYZxyz(28.1157, 25.5731, 84.3268)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887EE #EEBF58
analogous
#58D2EE #5887EE #7458EE
triadic
#5887EE #EE5887 #87EE58
tetradic
#5887EE #EE58D2 #EEBF58 #58EE74
square
#5887EE #EE58D2 #EEBF58 #58EE74
split-complementary
#5887EE #EE7458 #D2EE58
monochromatic
#1347B9 #205FE8 #5887EE #90AFF4 #C7D7F9

Accessibility & contrast

On white

3.43
#5887EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5887EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887EE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887EE#FFFFFF#000000##000000
##5887EE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#009EAF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5887ee;
/* rgb */ color: rgb(88, 135, 238);
/* oklch */ color: oklch(64.0% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a9f4',
    500: '#5887ee',
    950: '#000000',
  },
}
SCSS
$custom: #5887ee;
$custom-light: #94a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5887ee",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 221.2,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.16277,
    "h": 263.9
  },
  "luminance": 0.25576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5887EE

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

Preview Lab → · Contrast checker → · Palette generator →

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