Color #878ba6
A nearly neutral, gray-leaning medium blue.
Conversions
#878ba6
rgb(135, 139, 166)
hsl(232.3, 14.8%, 59%)
hsv(232.3, 18.7%, 65.1%)
cmyk(18.7%, 16.3%, 0%, 34.9%)
lab(58.39, 4.39, -14.73)
lch(58.39, 15.37, 286.6)
oklch(64.3%, 0.0405, 278.51)
hwb(232.3, 52.9%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.27:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8989a0 · ΔE 2.1
Deuteranopia
#89889f · ΔE 2.5
Tritanopia
#879b9a · ΔE 16.5
Achromatopsia
#8c8c8c · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #878ba6;
bg-[#878ba6]
Related colors
Frequently asked questions
#878ba6 (#878ba6) is rgb(135, 139, 166) in RGB.
No, #878ba6 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #878ba6, or check how it holds up for accessibility.