Color #665aa5
A muted medium blue.
Conversions
#665aa5
rgb(102, 90, 165)
hsl(249.6, 29.4%, 50%)
hsv(249.6, 45.5%, 64.7%)
cmyk(38.2%, 45.5%, 0%, 35.3%)
lab(42.54, 23.31, -38.92)
lch(42.54, 45.37, 300.92)
oklch(51.4%, 0.1161, 289)
hwb(249.6, 35.3%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (5.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#616197 · ΔE 4.5
Deuteranopia
#626394 · ΔE 5.6
Tritanopia
#658b88 · ΔE 29
Achromatopsia
#646464 · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #665aa5;
bg-[#665aa5]
Related colors
Frequently asked questions
#665aa5 (#665aa5) is rgb(102, 90, 165) in RGB.
No, #665aa5 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 #665aa5, or check how it holds up for accessibility.