#5887EF#5887EF

#5887EF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.164 H 264.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5887EF
RGBrgb(88, 135, 239)
HSLhsl(221, 83%, 64%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(63.2%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.69, 16.12, -57.18)
CIE-LCHlch(57.69, 59.41, 285.74°)
OKLaboklab(64.07% -0.017 -0.1632)
OKLCHoklch(64.07% 0.164 264)
XYZxyz(28.2630, 25.6320, 85.1027)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887EF #EFC058
analogous
#58D2EF #5887EF #7558EF
triadic
#5887EF #EF5887 #87EF58
tetradic
#5887EF #EF58D2 #EFC058 #58EF75
square
#5887EF #EF58D2 #EFC058 #58EF75
split-complementary
#5887EF #EF7558 #D2EF58
monochromatic
#1246BB #205FEA #5887EF #90AFF4 #C8D7FA

Accessibility & contrast

On white

3.43
#5887EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#5887EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887EF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887EF#FFFFFF#000000##000000
##5887EF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#3E84ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5887ef;
/* rgb */ color: rgb(88, 135, 239);
/* oklch */ color: oklch(64.1% 0.164 264.0);
Tailwind
colors: {
  custom: {
    50: '#95a9f5',
    500: '#5887ef',
    950: '#000000',
  },
}
SCSS
$custom: #5887ef;
$custom-light: #95a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5887ef",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 221.325,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.16412,
    "h": 264
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#5887EF
secondary
#ECDBB7
accent
#9C07DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5887EF

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

Preview Lab → · Contrast checker → · Palette generator →

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