#5887E9#5887E9

#5887E9 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.7% C 0.156 H 263.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5887E9
RGBrgb(88, 135, 233)
HSLhsl(221, 77%, 63%)
HSVhsv(221, 62%, 91%)
CMYKcmyk(62.2%, 42.1%, 0%, 8.6%)
CIE-LABlab(57.35, 14.10, -54.39)
CIE-LCHlch(57.35, 56.19, 284.53°)
OKLaboklab(63.7% -0.0181 -0.155)
OKLCHoklch(63.7% 0.156 263.3)
XYZxyz(27.3913, 25.2834, 80.5117)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887E9 #E9BA58
analogous
#58CFE9 #5887E9 #7158E9
triadic
#5887E9 #E95887 #87E958
tetradic
#5887E9 #E958CF #E9BA58 #58E971
square
#5887E9 #E958CF #E9BA58 #58E971
split-complementary
#5887E9 #E97158 #CFE958
monochromatic
#1749AF #2260E2 #5887E9 #8EAEF0 #C4D5F7

Accessibility & contrast

On white

3.47
#5887E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5887E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887E9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887E9#FFFFFF#000000##000000
##5887E91.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91ED
Deuteranopia (green-blind)
#4484E7
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5887e9;
/* rgb */ color: rgb(88, 135, 233);
/* oklch */ color: oklch(63.7% 0.156 263.3);
Tailwind
colors: {
  custom: {
    50: '#94a9f0',
    500: '#5887e9',
    950: '#000000',
  },
}
SCSS
$custom: #5887e9;
$custom-light: #94a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5887e9",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 220.552,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63699,
    "c": 0.15608,
    "h": 263.3
  },
  "luminance": 0.25286
}

Semantic roles & 50–950 ramp

primary
#5887E9
secondary
#E8D8B4
accent
#970DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5887E9

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

Preview Lab → · Contrast checker → · Palette generator →

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