Color #8a8a97
A nearly neutral, gray-leaning medium blue.
Conversions
#8a8a97
rgb(138, 138, 151)
hsl(240, 5.9%, 56.7%)
hsv(240, 8.6%, 59.2%)
cmyk(8.6%, 8.6%, 0%, 40.8%)
lab(57.86, 2.65, -6.9)
lch(57.86, 7.39, 291.01)
oklch(63.8%, 0.0192, 285.99)
hwb(240, 54.1%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a8a94 · ΔE 1.4
Deuteranopia
#8a8a93 · ΔE 1.9
Tritanopia
#8a9291 · ΔE 9.5
Achromatopsia
#8b8b8b · ΔE 6.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8a97;
bg-[#8a8a97]
Related colors
Frequently asked questions
#8a8a97 (#8a8a97) is rgb(138, 138, 151) in RGB.
No, #8a8a97 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 #8a8a97, or check how it holds up for accessibility.