Color #7f97a5
A muted medium blue.
Conversions
#7f97a5
rgb(127, 151, 165)
hsl(202.1, 17.4%, 57.3%)
hsv(202.1, 23%, 64.7%)
cmyk(23%, 8.5%, 0%, 35.3%)
lab(61.1, -5.23, -10.14)
lch(61.1, 11.41, 242.72)
oklch(66.3%, 0.0343, 233.67)
hwb(202.1, 49.8%, 35.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a8aa2 · ΔE 13
Deuteranopia
#8987a1 · ΔE 14.5
Tritanopia
#809f9f · ΔE 8.2
Achromatopsia
#939393 · ΔE 9.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f97a5;
bg-[#7f97a5]
Related colors
Frequently asked questions
#7f97a5 (#7f97a5) is rgb(127, 151, 165) in RGB.
No, #7f97a5 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 #7f97a5, or check how it holds up for accessibility.