Color #a6a6a8
A nearly neutral, gray-leaning light blue.
Conversions
#a6a6a8
rgb(166, 166, 168)
hsl(240, 1.1%, 65.5%)
hsv(240, 1.2%, 65.9%)
cmyk(1.2%, 1.2%, 0%, 34.1%)
lab(68.17, 0.38, -1.03)
lch(68.17, 1.1, 290.25)
oklch(72.6%, 0.0028, 286.5)
hwb(240, 65.1%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (8.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a6a6a8 · ΔE 0
Deuteranopia
#a6a6a7 · ΔE 0.6
Tritanopia
#a6a7a7 · ΔE 1.4
Achromatopsia
#a6a6a6 · ΔE 1.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a6a6a8;
bg-[#a6a6a8]
Related colors
Frequently asked questions
#a6a6a8 (#a6a6a8) is rgb(166, 166, 168) in RGB.
No, #a6a6a8 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 #a6a6a8, or check how it holds up for accessibility.