Color #8c8ea1
A nearly neutral, gray-leaning medium blue.
Conversions
#8c8ea1
rgb(140, 142, 161)
hsl(234.3, 10%, 59%)
hsv(234.3, 13%, 63.1%)
cmyk(13%, 11.8%, 0%, 36.9%)
lab(59.43, 3.23, -10.27)
lch(59.43, 10.77, 287.46)
oklch(65.1%, 0.0282, 280.83)
hwb(234.3, 54.9%, 36.9%)
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
#8d8d9d · ΔE 1.4
Deuteranopia
#8d8d9c · ΔE 1.7
Tritanopia
#8c9998 · ΔE 12.6
Achromatopsia
#8f8f8f · ΔE 9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c8ea1;
bg-[#8c8ea1]
Related colors
Frequently asked questions
#8c8ea1 (#8c8ea1) is rgb(140, 142, 161) in RGB.
No, #8c8ea1 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 #8c8ea1, or check how it holds up for accessibility.