Color #7f8eb1
A muted medium blue.
Conversions
#7f8eb1
rgb(127, 142, 177)
hsl(222, 24.3%, 59.6%)
hsv(222, 28.2%, 69.4%)
cmyk(28.2%, 19.8%, 0%, 30.6%)
lab(59, 2.77, -20.12)
lch(59, 20.31, 277.84)
oklch(64.8%, 0.0554, 266.69)
hwb(222, 49.8%, 30.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.41:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8686a9 · ΔE 6
Deuteranopia
#8584a7 · ΔE 6.6
Tritanopia
#80a3a2 · ΔE 18.9
Achromatopsia
#8e8e8e · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8eb1;
bg-[#7f8eb1]
Related colors
Frequently asked questions
#7f8eb1 (#7f8eb1) is rgb(127, 142, 177) in RGB.
No, #7f8eb1 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 #7f8eb1, or check how it holds up for accessibility.