#5887DF#5887DF

#5887DF is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.143 H 261.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5887DF
RGBrgb(88, 135, 223)
HSLhsl(219, 68%, 61%)
HSVhsv(219, 61%, 87%)
CMYKcmyk(60.5%, 39.5%, 0%, 12.5%)
CIE-LABlab(56.81, 10.75, -49.67)
CIE-LCHlch(56.81, 50.82, 282.22°)
OKLaboklab(63.11% -0.0201 -0.1412)
OKLCHoklch(63.11% 0.143 261.9)
XYZxyz(26.0031, 24.7281, 73.2004)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887DF #DFB058
analogous
#58CADF #5887DF #6C58DF
triadic
#5887DF #DF5887 #87DF58
tetradic
#5887DF #DF58CA #DFB058 #58DF6C
square
#5887DF #DF58CA #DFB058 #58DF6C
split-complementary
#5887DF #DF6C58 #CADF58
monochromatic
#1E4B9E #2863D2 #5887DF #8BACE9 #BFD1F3

Accessibility & contrast

On white

3.53
#5887DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5887DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887DF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887DF#FFFFFF#000000##000000
##5887DF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#4E83DD
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5887df;
/* rgb */ color: rgb(88, 135, 223);
/* oklch */ color: oklch(63.1% 0.143 261.9);
Tailwind
colors: {
  custom: {
    50: '#92a9e9',
    500: '#5887df',
    950: '#000000',
  },
}
SCSS
$custom: #5887df;
$custom-light: #92a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5887df",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 219.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63106,
    "c": 0.14261,
    "h": 261.9
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

primary
#5887DF
secondary
#E3D1B0
accent
#8F16D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5887DF

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

Preview Lab → · Contrast checker → · Palette generator →

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