#5887CA#5887CA

#5887CA is a mid, moderate blue. Relative luminance 0.237; OKLCH L 61.9% C 0.114 H 257.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5887CA
RGBrgb(88, 135, 202)
HSLhsl(215, 52%, 57%)
HSVhsv(215, 56%, 79%)
CMYKcmyk(56.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.75, 3.86, -39.53)
CIE-LCHlch(55.75, 39.72, 275.58°)
OKLaboklab(61.94% -0.0251 -0.1116)
OKLCHoklch(61.94% 0.114 257.3)
XYZxyz(23.3454, 23.6650, 59.2032)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5887CA #CA9B58
analogous
#58C0CA #5887CA #6258CA
triadic
#5887CA #CA5887 #87CA58
tetradic
#5887CA #CA58C0 #CA9B58 #58CA62
square
#5887CA #CA58C0 #CA9B58 #58CA62
split-complementary
#5887CA #CA6258 #C0CA58
monochromatic
#284C7F #3768AE #5887CA #86A8D9 #B5CAE7

Accessibility & contrast

On white

3.66
#5887CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5887CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5887CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5887CA#FFFFFF#000000##000000
##5887CA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5887ca;
/* rgb */ color: rgb(88, 135, 202);
/* oklch */ color: oklch(61.9% 0.114 257.3);
Tailwind
colors: {
  custom: {
    50: '#8fa9da',
    500: '#5887ca',
    950: '#000000',
  },
}
SCSS
$custom: #5887ca;
$custom-light: #8fa9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5887ca",
  "rgb": {
    "r": 88,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 215.263,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.11436,
    "h": 257.3
  },
  "luminance": 0.23667
}

Semantic roles & 50–950 ramp

primary
#5887CA
secondary
#D6C3A8
accent
#A04DDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5887CA

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

Preview Lab → · Contrast checker → · Palette generator →

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