#5877A4#5877A4

#5877A4 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.4% C 0.079 H 257.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5877A4
RGBrgb(88, 119, 164)
HSLhsl(216, 30%, 49%)
HSVhsv(216, 46%, 64%)
CMYKcmyk(46.3%, 27.4%, 0%, 35.7%)
CIE-LABlab(49.43, 1.43, -27.58)
CIE-LCHlch(49.43, 27.62, 272.97°)
OKLaboklab(56.43% -0.0169 -0.0771)
OKLCHoklch(56.43% 0.079 257.6)
XYZxyz(17.3200, 17.9476, 37.6663)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A4 #A48558
analogous
#589DA4 #5877A4 #5F58A4
triadic
#5877A4 #A45877 #77A458
tetradic
#5877A4 #A4589D #A48558 #58A45F
square
#5877A4 #A4589D #A48558 #58A45F
split-complementary
#5877A4 #A45F58 #9DA458
monochromatic
#2D3D54 #435A7C #5877A4 #7F97BA #A7B7D0

Accessibility & contrast

On white

4.58
#5877A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5877A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877A4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877A4#FFFFFF#000000##000000
##5877A41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#3A8187
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5877a4;
/* rgb */ color: rgb(88, 119, 164);
/* oklch */ color: oklch(56.4% 0.079 257.6);
Tailwind
colors: {
  custom: {
    50: '#8b9ebf',
    500: '#5877a4',
    950: '#000000',
  },
}
SCSS
$custom: #5877a4;
$custom-light: #8b9ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a4",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 164
  },
  "hsl": {
    "h": 215.526,
    "s": 30.159,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.07889,
    "h": 257.6
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#5877A4
secondary
#BDAF9A
accent
#9D61C6
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A4

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

Preview Lab → · Contrast checker → · Palette generator →

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