Color #8a8f9e
A nearly neutral, gray-leaning medium blue.
Conversions
#8a8f9e
rgb(138, 143, 158)
hsl(225, 9.3%, 58%)
hsv(225, 12.7%, 62%)
cmyk(12.7%, 9.5%, 0%, 38%)
lab(59.45, 1.32, -8.54)
lch(59.45, 8.64, 278.79)
oklch(65.1%, 0.023, 271)
hwb(225, 54.1%, 38%)
Harmony colors
Accessibility
Black text reads better on this background (6.5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c9b · ΔE 2.6
Deuteranopia
#8c8c9a · ΔE 2.5
Tritanopia
#8a9897 · ΔE 10.4
Achromatopsia
#8f8f8f · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8f9e;
bg-[#8a8f9e]
Related colors
Frequently asked questions
#8a8f9e (#8a8f9e) is rgb(138, 143, 158) in RGB.
No, #8a8f9e 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 #8a8f9e, or check how it holds up for accessibility.