#5877B3#5877B3

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

Color values

HEX#5877B3
RGBrgb(88, 119, 179)
HSLhsl(220, 37%, 52%)
HSVhsv(220, 51%, 70%)
CMYKcmyk(50.8%, 33.5%, 0%, 29.8%)
CIE-LABlab(50.12, 6.08, -35.22)
CIE-LCHlch(50.12, 35.74, 279.80°)
OKLaboklab(57.19% -0.0125 -0.0991)
OKLCHoklch(57.19% 0.1 262.8)
XYZxyz(18.7553, 18.5217, 45.2258)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B3 #B39458
analogous
#58A5B3 #5877B3 #6658B3
triadic
#5877B3 #B35877 #77B358
tetradic
#5877B3 #B358A5 #B39458 #58B366
square
#5877B3 #B358A5 #B39458 #58B366
split-complementary
#5877B3 #B36658 #A5B358
monochromatic
#2D4063 #405B8D #5877B3 #8299C6 #ACBCD9

Accessibility & contrast

On white

4.46
#5877B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5877B3#FFFFFF#000000##000000
##5877B31.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#2E848D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5877b3;
/* rgb */ color: rgb(88, 119, 179);
/* oklch */ color: oklch(57.2% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#8c9eca',
    500: '#5877b3',
    950: '#000000',
  },
}
SCSS
$custom: #5877b3;
$custom-light: #8c9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b3",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 179
  },
  "hsl": {
    "h": 219.56,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.09994,
    "h": 262.8
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#5877B3
secondary
#C7BAA0
accent
#A65ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5877B3

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

Preview Lab → · Contrast checker → · Palette generator →

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