#5877AB#5877AB

#5877AB is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.8% C 0.089 H 260.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5877AB
RGBrgb(88, 119, 171)
HSLhsl(218, 33%, 51%)
HSVhsv(218, 49%, 67%)
CMYKcmyk(48.5%, 30.4%, 0%, 32.9%)
CIE-LABlab(49.75, 3.58, -31.17)
CIE-LCHlch(49.75, 31.37, 276.55°)
OKLaboklab(56.77% -0.0148 -0.0874)
OKLCHoklch(56.77% 0.089 260.4)
XYZxyz(17.9696, 18.2074, 41.0877)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877AB #AB8C58
analogous
#58A1AB #5877AB #6258AB
triadic
#5877AB #AB5877 #77AB58
tetradic
#5877AB #AB58A1 #AB8C58 #58AB62
square
#5877AB #AB58A1 #AB8C58 #58AB62
split-complementary
#5877AB #AB6258 #A1AB58
monochromatic
#2E3F5B #425B84 #5877AB #8198BF #A9B9D4

Accessibility & contrast

On white

4.52
#5877AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5877AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877AB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877AB#FFFFFF#000000##000000
##5877AB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAD
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#358289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877ab;
/* rgb */ color: rgb(88, 119, 171);
/* oklch */ color: oklch(56.8% 0.089 260.4);
Tailwind
colors: {
  custom: {
    50: '#8c9ec4',
    500: '#5877ab',
    950: '#000000',
  },
}
SCSS
$custom: #5877ab;
$custom-light: #8c9ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#5877ab",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 217.59,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.08865,
    "h": 260.4
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#5877AB
secondary
#C2B49D
accent
#A15FC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877AB

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

Preview Lab → · Contrast checker → · Palette generator →

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