Color #666a98
A muted medium blue.
Conversions
#666a98
rgb(102, 106, 152)
hsl(235.2, 19.7%, 49.8%)
hsv(235.2, 32.9%, 59.6%)
cmyk(32.9%, 30.3%, 0%, 40.4%)
lab(46.18, 9.79, -25.51)
lch(46.18, 27.32, 291)
oklch(54%, 0.072, 279.84)
hwb(235.2, 40%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#68688f · ΔE 2.6
Deuteranopia
#68678c · ΔE 3.3
Tritanopia
#668785 · ΔE 24.1
Achromatopsia
#6d6d6d · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #666a98;
bg-[#666a98]
Related colors
Frequently asked questions
#666a98 (#666a98) is rgb(102, 106, 152) in RGB.
No, #666a98 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 #666a98, or check how it holds up for accessibility.