#5D5877#5D5877

#5D5877 is a mid, muted blue. Relative luminance 0.106; OKLCH L 47.7% C 0.050 H 291.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5D5877
RGBrgb(93, 88, 119)
HSLhsl(250, 15%, 41%)
HSVhsv(250, 26%, 47%)
CMYKcmyk(21.8%, 26.1%, 0%, 53.3%)
CIE-LABlab(38.96, 9.18, -16.81)
CIE-LCHlch(38.96, 19.15, 298.64°)
OKLaboklab(47.73% 0.0185 -0.0462)
OKLCHoklch(47.73% 0.05 291.8)
XYZxyz(11.3329, 10.6384, 18.9055)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5877 #727758
analogous
#586277 #5D5877 #6C5877
triadic
#5D5877 #775D58 #58775D
tetradic
#5D5877 #775862 #727758 #58776C
square
#5D5877 #775862 #727758 #58776C
split-complementary
#5D5877 #776C58 #627758
monochromatic
#262431 #423E54 #5D5877 #7A7498 #9C97B2

Accessibility & contrast

On white

6.71
#5D5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5D5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5877
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5877#FFFFFF#000000##FFFFFF
##5D58771.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C78
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#585D63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d5877;
/* rgb */ color: rgb(93, 88, 119);
/* oklch */ color: oklch(47.7% 0.050 291.8);
Tailwind
colors: {
  custom: {
    50: '#8b879e',
    500: '#5d5877',
    950: '#000000',
  },
}
SCSS
$custom: #5d5877;
$custom-light: #8b879e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5877",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 249.677,
    "s": 14.976,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47732,
    "c": 0.04971,
    "h": 291.8
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#5D5877
secondary
#9DA08A
accent
#B870AC
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E

Preview Lab

Preview with #5D5877

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

Preview Lab → · Contrast checker → · Palette generator →

#5D5877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva