Color #7f8ba1
A muted medium blue.
Conversions
#7f8ba1
rgb(127, 139, 161)
hsl(218.8, 15.3%, 56.5%)
hsv(218.8, 21.1%, 63.1%)
cmyk(21.1%, 13.7%, 0%, 36.9%)
lab(57.61, 0.57, -13.1)
lch(57.61, 13.11, 272.49)
oklch(63.5%, 0.036, 262.66)
hwb(218.8, 49.8%, 36.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.11:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84849c · ΔE 6.1
Deuteranopia
#84839b · ΔE 6.6
Tritanopia
#809897 · ΔE 13.6
Achromatopsia
#8a8a8a · ΔE 10.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8ba1;
bg-[#7f8ba1]
Related colors
Frequently asked questions
#7f8ba1 (#7f8ba1) is rgb(127, 139, 161) in RGB.
No, #7f8ba1 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 #7f8ba1, or check how it holds up for accessibility.