Color #7e879a
A nearly neutral, gray-leaning medium blue.
Conversions
#7e879a
rgb(126, 135, 154)
hsl(220.7, 12.2%, 54.9%)
hsv(220.7, 18.2%, 60.4%)
cmyk(18.2%, 12.3%, 0%, 39.6%)
lab(56.18, 0.89, -11.23)
lch(56.18, 11.27, 274.53)
oklch(62.3%, 0.0306, 265.31)
hwb(220.7, 49.4%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#828296 · ΔE 4.7
Deuteranopia
#818195 · ΔE 4.8
Tritanopia
#7e9291 · ΔE 12.4
Achromatopsia
#878787 · ΔE 9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e879a;
bg-[#7e879a]
Related colors
Frequently asked questions
#7e879a (#7e879a) is rgb(126, 135, 154) in RGB.
No, #7e879a 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 #7e879a, or check how it holds up for accessibility.