#5887E5#5887E5

#5887E5 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.151 H 262.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5887E5
RGBrgb(88, 135, 229)
HSLhsl(220, 73%, 62%)
HSVhsv(220, 62%, 90%)
CMYKcmyk(61.6%, 41%, 0%, 10.2%)
CIE-LABlab(57.13, 12.76, -52.51)
CIE-LCHlch(57.13, 54.04, 283.65°)
OKLaboklab(63.46% -0.0189 -0.1495)
OKLCHoklch(63.46% 0.151 262.8)
XYZxyz(26.8264, 25.0574, 77.5364)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887E5 #E5B658
analogous
#58CEE5 #5887E5 #7058E5
triadic
#5887E5 #E55887 #87E558
tetradic
#5887E5 #E558CE #E5B658 #58E570
square
#5887E5 #E558CE #E5B658 #58E570
split-complementary
#5887E5 #E57058 #CEE558
monochromatic
#1A4AA8 #2361DD #5887E5 #8DADED #C2D3F5

Accessibility & contrast

On white

3.49
#5887E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5887E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887E5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887E5#FFFFFF#000000##000000
##5887E51.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E9
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5887e5;
/* rgb */ color: rgb(88, 135, 229);
/* oklch */ color: oklch(63.5% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#93a9ee',
    500: '#5887e5',
    950: '#000000',
  },
}
SCSS
$custom: #5887e5;
$custom-light: #93a9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5887e5",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 220,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.1507,
    "h": 262.8
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

primary
#5887E5
secondary
#E6D5B3
accent
#9410D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5887E5

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

Preview Lab → · Contrast checker → · Palette generator →

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