#5877B9#5877B9

#5877B9 is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.5% C 0.108 H 264.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5877B9
RGBrgb(88, 119, 185)
HSLhsl(221, 41%, 54%)
HSVhsv(221, 52%, 73%)
CMYKcmyk(52.4%, 35.7%, 0%, 27.5%)
CIE-LABlab(50.42, 7.99, -38.22)
CIE-LCHlch(50.42, 39.05, 281.80°)
OKLaboklab(57.52% -0.011 -0.1079)
OKLCHoklch(57.52% 0.108 264.2)
XYZxyz(19.3754, 18.7698, 48.4915)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B9 #B99A58
analogous
#58A7B9 #5877B9 #6958B9
triadic
#5877B9 #B95877 #77B958
tetradic
#5877B9 #B958A7 #B99A58 #58B969
square
#5877B9 #B958A7 #B99A58 #58B969
split-complementary
#5877B9 #B96958 #A7B958
monochromatic
#2C406A #3F5A95 #5877B9 #839ACB #AEBDDD

Accessibility & contrast

On white

4.42
#5877B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5877B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877B9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877B9#FFFFFF#000000##000000
##5877B91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#28858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877b9;
/* rgb */ color: rgb(88, 119, 185);
/* oklch */ color: oklch(57.5% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9dce',
    500: '#5877b9',
    950: '#000000',
  },
}
SCSS
$custom: #5877b9;
$custom-light: #8d9dce;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b9",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 185
  },
  "hsl": {
    "h": 220.825,
    "s": 40.928,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.10844,
    "h": 264.2
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#5877B9
secondary
#CBBEA2
accent
#AA57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5877B9

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

Preview Lab → · Contrast checker → · Palette generator →

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