Color #8a8fa4
A nearly neutral, gray-leaning medium blue.
Conversions
#8a8fa4
rgb(138, 143, 164)
hsl(228.5, 12.5%, 59.2%)
hsv(228.5, 15.9%, 64.3%)
cmyk(15.9%, 12.8%, 0%, 35.7%)
lab(59.64, 2.65, -11.67)
lch(59.64, 11.97, 282.79)
oklch(65.3%, 0.0317, 274.88)
hwb(228.5, 54.1%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (6.55:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c9f · ΔE 2.4
Deuteranopia
#8c8c9e · ΔE 2.5
Tritanopia
#8a9b9a · ΔE 13.5
Achromatopsia
#909090 · ΔE 9.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8fa4;
bg-[#8a8fa4]
Related colors
Frequently asked questions
#8a8fa4 (#8a8fa4) is rgb(138, 143, 164) in RGB.
No, #8a8fa4 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 #8a8fa4, or check how it holds up for accessibility.