#5877BB#5877BB

#5877BB is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.6% C 0.111 H 264.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5877BB
RGBrgb(88, 119, 187)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 53%, 73%)
CMYKcmyk(52.9%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.52, 8.63, -39.22)
CIE-LCHlch(50.52, 40.15, 282.41°)
OKLaboklab(57.63% -0.0105 -0.1108)
OKLCHoklch(57.63% 0.111 264.6)
XYZxyz(19.5880, 18.8548, 49.6112)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877BB #BB9C58
analogous
#58A9BB #5877BB #6B58BB
triadic
#5877BB #BB5877 #77BB58
tetradic
#5877BB #BB58A9 #BB9C58 #58BB6B
square
#5877BB #BB58A9 #BB9C58 #58BB6B
split-complementary
#5877BB #BB6B58 #A9BB58
monochromatic
#2C406C #3E5A98 #5877BB #839ACD #AFBEDE

Accessibility & contrast

On white

4.40
#5877BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5877BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877BB#FFFFFF#000000##000000
##5877BB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#268690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877bb;
/* rgb */ color: rgb(88, 119, 187);
/* oklch */ color: oklch(57.6% 0.111 264.6);
Tailwind
colors: {
  custom: {
    50: '#8d9dd0',
    500: '#5877bb',
    950: '#000000',
  },
}
SCSS
$custom: #5877bb;
$custom-light: #8d9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5877bb",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 221.212,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.11127,
    "h": 264.6
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#5877BB
secondary
#CDBFA2
accent
#AB56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5877BB

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

Preview Lab → · Contrast checker → · Palette generator →

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