Color #7e808a
A nearly neutral, gray-leaning medium blue.
Conversions
#7e808a
rgb(126, 128, 138)
hsl(230, 4.9%, 51.8%)
hsv(230, 8.7%, 54.1%)
cmyk(8.7%, 7.2%, 0%, 45.9%)
lab(53.72, 1.34, -5.65)
lch(53.72, 5.81, 283.34)
oklch(60.2%, 0.0153, 276.75)
hwb(230, 49.4%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7f7f88 · ΔE 1.1
Deuteranopia
#7f7f87 · ΔE 1.3
Tritanopia
#7e8685 · ΔE 7.7
Achromatopsia
#808080 · ΔE 5.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e808a;
bg-[#7e808a]
Related colors
Frequently asked questions
#7e808a (#7e808a) is rgb(126, 128, 138) in RGB.
No, #7e808a 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 #7e808a, or check how it holds up for accessibility.