Color #7f8b9e
A nearly neutral, gray-leaning medium blue.
Conversions
#7f8b9e
rgb(127, 139, 158)
hsl(216.8, 13.8%, 55.9%)
hsv(216.8, 19.6%, 62%)
cmyk(19.6%, 12%, 0%, 38%)
lab(57.51, -0.13, -11.53)
lch(57.51, 11.53, 269.35)
oklch(63.3%, 0.0318, 259.5)
hwb(216.8, 49.8%, 38%)
Harmony colors
Accessibility
Black text reads better on this background (6.09:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84849a · ΔE 6.5
Deuteranopia
#848399 · ΔE 7
Tritanopia
#809695 · ΔE 12
Achromatopsia
#8a8a8a · ΔE 9.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8b9e;
bg-[#7f8b9e]
Related colors
Frequently asked questions
#7f8b9e (#7f8b9e) is rgb(127, 139, 158) in RGB.
No, #7f8b9e 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 #7f8b9e, or check how it holds up for accessibility.