Color #7f8aa4
A muted medium blue.
Conversions
#7f8aa4
rgb(127, 138, 164)
hsl(222.2, 16.9%, 57.1%)
hsv(222.2, 22.6%, 64.3%)
cmyk(22.6%, 15.9%, 0%, 35.7%)
lab(57.43, 1.86, -15.08)
lch(57.43, 15.19, 277.03)
oklch(63.4%, 0.0413, 267.08)
hwb(222.2, 49.8%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (6.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84849e · ΔE 5.1
Deuteranopia
#83829d · ΔE 5.8
Tritanopia
#809998 · ΔE 15.5
Achromatopsia
#8a8a8a · ΔE 11.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8aa4;
bg-[#7f8aa4]
Related colors
Frequently asked questions
#7f8aa4 (#7f8aa4) is rgb(127, 138, 164) in RGB.
No, #7f8aa4 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 #7f8aa4, or check how it holds up for accessibility.