#5877BC#5877BC

#5877BC is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.7% C 0.113 H 264.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5877BC
RGBrgb(88, 119, 188)
HSLhsl(221, 43%, 54%)
HSVhsv(221, 53%, 74%)
CMYKcmyk(53.2%, 36.7%, 0%, 26.3%)
CIE-LABlab(50.57, 8.95, -39.71)
CIE-LCHlch(50.57, 40.71, 282.70°)
OKLaboklab(57.68% -0.0103 -0.1122)
OKLCHoklch(57.68% 0.113 264.8)
XYZxyz(19.6954, 18.8978, 50.1770)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877BC #BC9D58
analogous
#58A9BC #5877BC #6B58BC
triadic
#5877BC #BC5877 #77BC58
tetradic
#5877BC #BC58A9 #BC9D58 #58BC6B
square
#5877BC #BC58A9 #BC9D58 #58BC6B
split-complementary
#5877BC #BC6B58 #A9BC58
monochromatic
#2C406E #3E5A99 #5877BC #849BCE #AFBEDF

Accessibility & contrast

On white

4.39
#5877BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5877BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877BC#FFFFFF#000000##000000
##5877BC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#258690
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877bc;
/* rgb */ color: rgb(88, 119, 188);
/* oklch */ color: oklch(57.7% 0.113 264.8);
Tailwind
colors: {
  custom: {
    50: '#8e9dd0',
    500: '#5877bc',
    950: '#000000',
  },
}
SCSS
$custom: #5877bc;
$custom-light: #8e9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5877bc",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 221.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.11269,
    "h": 264.8
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#5877BC
secondary
#CDC0A3
accent
#AC55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5877BC

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

Preview Lab → · Contrast checker → · Palette generator →

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