#5887ED#5887ED

#5887ED is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.161 H 263.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5887ED
RGBrgb(88, 135, 237)
HSLhsl(221, 81%, 64%)
HSVhsv(221, 63%, 93%)
CMYKcmyk(62.9%, 43%, 0%, 7.1%)
CIE-LABlab(57.57, 15.44, -56.25)
CIE-LCHlch(57.57, 58.34, 285.35°)
OKLaboklab(63.94% -0.0174 -0.1605)
OKLCHoklch(63.94% 0.161 263.8)
XYZxyz(27.9692, 25.5145, 83.5552)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887ED #EDBE58
analogous
#58D1ED #5887ED #7358ED
triadic
#5887ED #ED5887 #87ED58
tetradic
#5887ED #ED58D1 #EDBE58 #58ED73
square
#5887ED #ED58D1 #EDBE58 #58ED73
split-complementary
#5887ED #ED7358 #D1ED58
monochromatic
#1447B7 #215FE7 #5887ED #8FAFF3 #C6D6F9

Accessibility & contrast

On white

3.44
#5887ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5887ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887ED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887ED#FFFFFF#000000##000000
##5887ED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5887ed;
/* rgb */ color: rgb(88, 135, 237);
/* oklch */ color: oklch(63.9% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#94a9f3',
    500: '#5887ed',
    950: '#000000',
  },
}
SCSS
$custom: #5887ed;
$custom-light: #94a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5887ed",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 221.074,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.16144,
    "h": 263.8
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#5887ED
secondary
#EBDAB6
accent
#9A09DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5887ED

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

Preview Lab → · Contrast checker → · Palette generator →

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