#5877C7#5877C7

#5877C7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.128 H 266.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5877C7
RGBrgb(88, 119, 199)
HSLhsl(223, 50%, 56%)
HSVhsv(223, 56%, 78%)
CMYKcmyk(55.8%, 40.2%, 0%, 22%)
CIE-LABlab(51.14, 12.52, -45.11)
CIE-LCHlch(51.14, 46.81, 285.51°)
OKLaboklab(58.31% -0.0078 -0.128)
OKLCHoklch(58.31% 0.128 266.5)
XYZxyz(20.9267, 19.3903, 56.6617)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5877C7 #C7A858
analogous
#58AFC7 #5877C7 #7158C7
triadic
#5877C7 #C75877 #77C758
tetradic
#5877C7 #C758AF #C7A858 #58C771
square
#5877C7 #C758AF #C7A858 #58C771
split-complementary
#5877C7 #C77158 #AFC758
monochromatic
#29407B #3958A9 #5877C7 #869CD6 #B4C2E6

Accessibility & contrast

On white

4.30
#5877C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5877C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5877C7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5877C7#FFFFFF#000000##000000
##5877C71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#128995
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5877c7;
/* rgb */ color: rgb(88, 119, 199);
/* oklch */ color: oklch(58.3% 0.128 266.5);
Tailwind
colors: {
  custom: {
    50: '#8f9dd8',
    500: '#5877c7',
    950: '#000000',
  },
}
SCSS
$custom: #5877c7;
$custom-light: #8f9dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5877c7",
  "rgb": {
    "r": 88,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 223.243,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.12824,
    "h": 266.5
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#5877C7
secondary
#D4C7A7
accent
#B34FD9
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5877C7

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

Preview Lab → · Contrast checker → · Palette generator →

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