Color #664bb8
A moderately saturated medium blue.
Conversions
#664bb8
rgb(102, 75, 184)
hsl(254.9, 43.4%, 50.8%)
hsv(254.9, 59.2%, 72.2%)
cmyk(44.6%, 59.2%, 0%, 27.8%)
lab(40.11, 37.89, -54.03)
lch(40.11, 65.99, 305.04)
oklch(50%, 0.1647, 290.63)
hwb(254.9, 29.4%, 27.8%)
Harmony colors
Accessibility
White text reads better on this background (6.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5ba6 · ΔE 6.9
Deuteranopia
#5d5fa1 · ΔE 8.6
Tritanopia
#659591 · ΔE 34.9
Achromatopsia
#5e5e5e · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #664bb8;
bg-[#664bb8]
Related colors
Frequently asked questions
#664bb8 (#664bb8) is rgb(102, 75, 184) in RGB.
No, #664bb8 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 #664bb8, or check how it holds up for accessibility.