#5877B2#5877B2

#5877B2 is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.099 H 262.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5877B2
RGBrgb(88, 119, 178)
HSLhsl(219, 37%, 52%)
HSVhsv(219, 51%, 70%)
CMYKcmyk(50.6%, 33.1%, 0%, 30.2%)
CIE-LABlab(50.07, 5.77, -34.72)
CIE-LCHlch(50.07, 35.19, 279.43°)
OKLaboklab(57.14% -0.0128 -0.0977)
OKLCHoklch(57.14% 0.099 262.5)
XYZxyz(18.6545, 18.4814, 44.6951)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B2 #B29358
analogous
#58A4B2 #5877B2 #6658B2
triadic
#5877B2 #B25877 #77B258
tetradic
#5877B2 #B258A4 #B29358 #58B266
square
#5877B2 #B258A4 #B29358 #58B266
split-complementary
#5877B2 #B26658 #A4B258
monochromatic
#2D4062 #415B8C #5877B2 #8299C5 #ACBBD9

Accessibility & contrast

On white

4.47
#5877B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5877B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877B2#FFFFFF#000000##000000
##5877B21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB4
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#2F848C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b2;
/* rgb */ color: rgb(88, 119, 178);
/* oklch */ color: oklch(57.1% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#8c9ec9',
    500: '#5877b2',
    950: '#000000',
  },
}
SCSS
$custom: #5877b2;
$custom-light: #8c9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b2",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 219.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57137,
    "c": 0.09852,
    "h": 262.5
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#5877B2
secondary
#C7B99F
accent
#A65BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877B2

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

Preview Lab → · Contrast checker → · Palette generator →

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