#5877BA#5877BA

#5877BA is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.6% C 0.110 H 264.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5877BA
RGBrgb(88, 119, 186)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 53%, 73%)
CMYKcmyk(52.7%, 36%, 0%, 27.1%)
CIE-LABlab(50.47, 8.31, -38.72)
CIE-LCHlch(50.47, 39.60, 282.11°)
OKLaboklab(57.57% -0.0107 -0.1093)
OKLCHoklch(57.57% 0.11 264.4)
XYZxyz(19.4813, 18.8121, 49.0494)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877BA #BA9B58
analogous
#58A8BA #5877BA #6A58BA
triadic
#5877BA #BA5877 #77BA58
tetradic
#5877BA #BA58A8 #BA9B58 #58BA6A
square
#5877BA #BA58A8 #BA9B58 #58BA6A
split-complementary
#5877BA #BA6A58 #A8BA58
monochromatic
#2C406B #3E5A97 #5877BA #839ACC #AFBEDE

Accessibility & contrast

On white

4.41
#5877BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5877BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877BA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877BA#FFFFFF#000000##000000
##5877BA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#278690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877ba;
/* rgb */ color: rgb(88, 119, 186);
/* oklch */ color: oklch(57.6% 0.110 264.4);
Tailwind
colors: {
  custom: {
    50: '#8d9dcf',
    500: '#5877ba',
    950: '#000000',
  },
}
SCSS
$custom: #5877ba;
$custom-light: #8d9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ba",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 221.02,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.10986,
    "h": 264.4
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#5877BA
secondary
#CCBFA2
accent
#AA56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5877BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5877BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva