#5887E8#5887E8

#5887E8 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.6% C 0.155 H 263.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5887E8
RGBrgb(88, 135, 232)
HSLhsl(220, 76%, 63%)
HSVhsv(220, 62%, 91%)
CMYKcmyk(62.1%, 41.8%, 0%, 9%)
CIE-LABlab(57.30, 13.76, -53.92)
CIE-LCHlch(57.30, 55.65, 284.32°)
OKLaboklab(63.64% -0.0183 -0.1536)
OKLCHoklch(63.64% 0.155 263.2)
XYZxyz(27.2489, 25.2264, 79.7615)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887E8 #E8B958
analogous
#58CFE8 #5887E8 #7158E8
triadic
#5887E8 #E85887 #87E858
tetradic
#5887E8 #E858CF #E8B958 #58E871
square
#5887E8 #E858CF #E8B958 #58E871
split-complementary
#5887E8 #E87158 #CFE858
monochromatic
#1849AE #2260E1 #5887E8 #8EAEEF #C4D4F7

Accessibility & contrast

On white

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

On black

6.05
#5887E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887E8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887E8#FFFFFF#000000##000000
##5887E81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#4683E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5887e8;
/* rgb */ color: rgb(88, 135, 232);
/* oklch */ color: oklch(63.6% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#93a9f0',
    500: '#5887e8',
    950: '#000000',
  },
}
SCSS
$custom: #5887e8;
$custom-light: #93a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5887e8",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 220.417,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.15473,
    "h": 263.2
  },
  "luminance": 0.25229
}

Semantic roles & 50–950 ramp

primary
#5887E8
secondary
#E8D7B4
accent
#960ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5887E8

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

Preview Lab → · Contrast checker → · Palette generator →

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