Color #664ea5
A muted medium blue.
Conversions
#664ea5
rgb(102, 78, 165)
hsl(256.6, 35.8%, 47.6%)
hsv(256.6, 52.7%, 64.7%)
cmyk(38.2%, 52.7%, 0%, 35.3%)
lab(39.56, 30.67, -43.67)
lch(39.56, 53.36, 305.08)
oklch(49.2%, 0.1349, 293.54)
hwb(256.6, 30.6%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (6.57:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5c96 · ΔE 6.8
Deuteranopia
#5e6092 · ΔE 8.6
Tritanopia
#658885 · ΔE 30.2
Achromatopsia
#5d5d5d · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #664ea5;
bg-[#664ea5]
Related colors
Frequently asked questions
#664ea5 (#664ea5) is rgb(102, 78, 165) in RGB.
No, #664ea5 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 #664ea5, or check how it holds up for accessibility.