#5877B5#5877B5

#5877B5 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.103 H 263.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5877B5
RGBrgb(88, 119, 181)
HSLhsl(220, 39%, 53%)
HSVhsv(220, 51%, 71%)
CMYKcmyk(51.4%, 34.3%, 0%, 29%)
CIE-LABlab(50.22, 6.71, -36.22)
CIE-LCHlch(50.22, 36.84, 280.50°)
OKLaboklab(57.3% -0.012 -0.1021)
OKLCHoklch(57.3% 0.103 263.3)
XYZxyz(18.9590, 18.6032, 46.2988)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B5 #B59658
analogous
#58A5B5 #5877B5 #6758B5
triadic
#5877B5 #B55877 #77B558
tetradic
#5877B5 #B558A5 #B59658 #58B567
square
#5877B5 #B558A5 #B59658 #58B567
split-complementary
#5877B5 #B56758 #A5B558
monochromatic
#2D4066 #405B90 #5877B5 #829AC8 #ADBCDB

Accessibility & contrast

On white

4.45
#5877B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5877B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877B5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877B5#FFFFFF#000000##000000
##5877B51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#2D848E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b5;
/* rgb */ color: rgb(88, 119, 181);
/* oklch */ color: oklch(57.3% 0.103 263.3);
Tailwind
colors: {
  custom: {
    50: '#8d9ecb',
    500: '#5877b5',
    950: '#000000',
  },
}
SCSS
$custom: #5877b5;
$custom-light: #8d9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b5",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 181
  },
  "hsl": {
    "h": 220,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.10276,
    "h": 263.3
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#5877B5
secondary
#C9BBA0
accent
#A759CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5877B5

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

Preview Lab → · Contrast checker → · Palette generator →

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