Color #664f97
A muted medium blue.
Conversions
#664f97
rgb(102, 79, 151)
hsl(259.2, 31.3%, 45.1%)
hsv(259.2, 47.7%, 59.2%)
cmyk(32.5%, 47.7%, 0%, 40.8%)
lab(38.99, 26.17, -36.2)
lch(38.99, 44.67, 305.86)
oklch(48.5%, 0.1139, 296.66)
hwb(259.2, 31%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (6.71:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5d8a · ΔE 7.4
Deuteranopia
#5e6086 · ΔE 9.1
Tritanopia
#657e7b · ΔE 27.4
Achromatopsia
#5c5c5c · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #664f97;
bg-[#664f97]
Related colors
Frequently asked questions
#664f97 (#664f97) is rgb(102, 79, 151) in RGB.
No, #664f97 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 #664f97, or check how it holds up for accessibility.