#5877B8#5877B8

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

Color values

HEX#5877B8
RGBrgb(88, 119, 184)
HSLhsl(221, 40%, 53%)
HSVhsv(221, 52%, 72%)
CMYKcmyk(52.2%, 35.3%, 0%, 27.8%)
CIE-LABlab(50.37, 7.67, -37.72)
CIE-LCHlch(50.37, 38.49, 281.49°)
OKLaboklab(57.46% -0.0112 -0.1064)
OKLCHoklch(57.46% 0.107 264)
XYZxyz(19.2702, 18.7277, 47.9375)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877B8 #B89958
analogous
#58A7B8 #5877B8 #6958B8
triadic
#5877B8 #B85877 #77B858
tetradic
#5877B8 #B858A7 #B89958 #58B869
square
#5877B8 #B858A7 #B89958 #58B869
split-complementary
#5877B8 #B86958 #A7B858
monochromatic
#2D4069 #3F5A94 #5877B8 #839ACA #AEBDDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5877B8#FFFFFF#000000##000000
##5877B81.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)
#5E7DBB
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#2A858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5877b8;
/* rgb */ color: rgb(88, 119, 184);
/* oklch */ color: oklch(57.5% 0.107 264.0);
Tailwind
colors: {
  custom: {
    50: '#8d9dcd',
    500: '#5877b8',
    950: '#000000',
  },
}
SCSS
$custom: #5877b8;
$custom-light: #8d9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#5877b8",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 184
  },
  "hsl": {
    "h": 220.625,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.10702,
    "h": 264
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#5877B8
secondary
#CBBDA1
accent
#A958D0
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5877B8

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

Preview Lab → · Contrast checker → · Palette generator →

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