Color #666871
A nearly neutral, gray-leaning medium blue.
Conversions
#666871
rgb(102, 104, 113)
hsl(229.1, 5.1%, 42.2%)
hsv(229.1, 9.7%, 44.3%)
cmyk(9.7%, 8%, 0%, 55.7%)
lab(44.11, 1.18, -5.3)
lch(44.11, 5.43, 282.55)
oklch(51.9%, 0.0143, 276.03)
hwb(229.1, 40%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (5.55:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#67676f · ΔE 1.1
Deuteranopia
#67676e · ΔE 1.3
Tritanopia
#666d6d · ΔE 6.6
Achromatopsia
#686868 · ΔE 5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #666871;
bg-[#666871]
Related colors
Frequently asked questions
#666871 (#666871) is rgb(102, 104, 113) in RGB.
No, #666871 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 #666871, or check how it holds up for accessibility.