#5877A8#5877A8

#5877A8 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.6% C 0.084 H 259.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5877A8
RGBrgb(88, 119, 168)
HSLhsl(217, 31%, 50%)
HSVhsv(217, 48%, 66%)
CMYKcmyk(47.6%, 29.2%, 0%, 34.1%)
CIE-LABlab(49.61, 2.65, -29.64)
CIE-LCHlch(49.61, 29.76, 275.12°)
OKLaboklab(56.62% -0.0157 -0.083)
OKLCHoklch(56.62% 0.084 259.3)
XYZxyz(17.6869, 18.0944, 39.5988)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877A8 #A88958
analogous
#589FA8 #5877A8 #6158A8
triadic
#5877A8 #A85877 #77A858
tetradic
#5877A8 #A8589F #A88958 #58A861
square
#5877A8 #A8589F #A88958 #58A861
split-complementary
#5877A8 #A86158 #9FA858
monochromatic
#2E3E58 #435A80 #5877A8 #8098BD #A8B9D2

Accessibility & contrast

On white

4.55
#5877A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5877A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877A8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877A8#FFFFFF#000000##000000
##5877A81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AAA
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#378288
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5877a8;
/* rgb */ color: rgb(88, 119, 168);
/* oklch */ color: oklch(56.6% 0.084 259.3);
Tailwind
colors: {
  custom: {
    50: '#8b9ec2',
    500: '#5877a8',
    950: '#000000',
  },
}
SCSS
$custom: #5877a8;
$custom-light: #8b9ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#5877a8",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 216.75,
    "s": 31.496,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.08445,
    "h": 259.3
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#5877A8
secondary
#C0B29C
accent
#A060C8
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5877A8

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

Preview Lab → · Contrast checker → · Palette generator →

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