#5887E4#5887E4

#5887E4 is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.4% C 0.149 H 262.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5887E4
RGBrgb(88, 135, 228)
HSLhsl(220, 72%, 62%)
HSVhsv(220, 61%, 89%)
CMYKcmyk(61.4%, 40.8%, 0%, 10.6%)
CIE-LABlab(57.08, 12.42, -52.04)
CIE-LCHlch(57.08, 53.50, 283.43°)
OKLaboklab(63.4% -0.0191 -0.1481)
OKLCHoklch(63.4% 0.149 262.7)
XYZxyz(26.6872, 25.0017, 76.8032)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887E4 #E4B558
analogous
#58CDE4 #5887E4 #6F58E4
triadic
#5887E4 #E45887 #87E458
tetradic
#5887E4 #E458CD #E4B558 #58E46F
square
#5887E4 #E458CD #E4B558 #58E46F
split-complementary
#5887E4 #E46F58 #CDE458
monochromatic
#1B4AA7 #2361DB #5887E4 #8DADED #C1D3F5

Accessibility & contrast

On white

3.50
#5887E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5887E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887E4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887E4#FFFFFF#000000##000000
##5887E41.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E8
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5887e4;
/* rgb */ color: rgb(88, 135, 228);
/* oklch */ color: oklch(63.4% 0.149 262.7);
Tailwind
colors: {
  custom: {
    50: '#93a9ed',
    500: '#5887e4',
    950: '#000000',
  },
}
SCSS
$custom: #5887e4;
$custom-light: #93a9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5887e4",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 219.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.634,
    "c": 0.14935,
    "h": 262.7
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#5887E4
secondary
#E6D4B2
accent
#9311D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5887E4

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

Preview Lab → · Contrast checker → · Palette generator →

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