#5877B4#5877B4

#5877B4 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.101 H 263.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5877B4
RGBrgb(88, 119, 180)
HSLhsl(220, 38%, 53%)
HSVhsv(220, 51%, 71%)
CMYKcmyk(51.1%, 33.9%, 0%, 29.4%)
CIE-LABlab(50.17, 6.40, -35.72)
CIE-LCHlch(50.17, 36.29, 280.15°)
OKLaboklab(57.24% -0.0123 -0.1006)
OKLCHoklch(57.24% 0.101 263)
XYZxyz(18.8568, 18.5623, 45.7604)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B4 #B49558
analogous
#58A5B4 #5877B4 #6758B4
triadic
#5877B4 #B45877 #77B458
tetradic
#5877B4 #B458A5 #B49558 #58B467
square
#5877B4 #B458A5 #B49558 #58B467
split-complementary
#5877B4 #B46758 #A5B458
monochromatic
#2D4064 #405B8F #5877B4 #8299C7 #ACBCDA

Accessibility & contrast

On white

4.46
#5877B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5877B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877B4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877B4#FFFFFF#000000##000000
##5877B41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#2D848D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b4;
/* rgb */ color: rgb(88, 119, 180);
/* oklch */ color: oklch(57.2% 0.101 263.0);
Tailwind
colors: {
  custom: {
    50: '#8d9eca',
    500: '#5877b4',
    950: '#000000',
  },
}
SCSS
$custom: #5877b4;
$custom-light: #8d9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b4",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 180
  },
  "hsl": {
    "h": 219.783,
    "s": 38.017,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.10135,
    "h": 263
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#5877B4
secondary
#C8BAA0
accent
#A75ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5877B4

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

Preview Lab → · Contrast checker → · Palette generator →

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