Color #a6a6ec
A moderately saturated light blue.
Conversions
#a6a6ec
rgb(166, 166, 236)
hsl(240, 64.8%, 78.8%)
hsv(240, 29.7%, 92.5%)
cmyk(29.7%, 29.7%, 0%, 7.5%)
lab(70.48, 15.49, -35.05)
lch(70.48, 38.32, 293.84)
oklch(75.1%, 0.1002, 283.74)
hwb(240, 65.1%, 7.5%)
Harmony colors
Accessibility
Black text reads better on this background (9.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a6a6de · ΔE 2.9
Deuteranopia
#a6a6da · ΔE 3.8
Tritanopia
#a6d1cf · ΔE 25.8
Achromatopsia
#acacac · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a6a6ec;
bg-[#a6a6ec]
Related colors
Frequently asked questions
#a6a6ec (#a6a6ec) is rgb(166, 166, 236) in RGB.
No, #a6a6ec is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #a6a6ec, or check how it holds up for accessibility.