Color #666a7c
A nearly neutral, gray-leaning medium blue.
Conversions
#666a7c
rgb(102, 106, 124)
hsl(229.1, 9.7%, 44.3%)
hsv(229.1, 17.7%, 48.6%)
cmyk(17.7%, 14.5%, 0%, 51.4%)
lab(45.06, 2.54, -10.51)
lch(45.06, 10.81, 283.59)
oklch(52.7%, 0.0286, 275.41)
hwb(229.1, 40%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (5.36:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#686878 · ΔE 2
Deuteranopia
#686777 · ΔE 2.6
Tritanopia
#667574 · ΔE 12.8
Achromatopsia
#6b6b6b · ΔE 8.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #666a7c;
bg-[#666a7c]
Related colors
Frequently asked questions
#666a7c (#666a7c) is rgb(102, 106, 124) in RGB.
No, #666a7c 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 #666a7c, or check how it holds up for accessibility.