Color #4052ab
A moderately saturated medium blue.
Conversions
#4052ab
rgb(64, 82, 171)
hsl(229.9, 45.5%, 46.1%)
hsv(229.9, 62.6%, 67.1%)
cmyk(62.6%, 52%, 0%, 32.9%)
lab(37.96, 21.56, -49.98)
lch(37.96, 54.43, 293.33)
oklch(47.3%, 0.1432, 271.32)
hwb(229.9, 25.1%, 32.9%)
Harmony colors
Accessibility
White text reads better on this background (6.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#48499b · ΔE 4.4
Deuteranopia
#474697 · ΔE 5.3
Tritanopia
#418d8a · ΔE 33.5
Achromatopsia
#595959 · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4052ab;
bg-[#4052ab]
Related colors
Frequently asked questions
#4052ab (#4052ab) is rgb(64, 82, 171) in RGB.
No, #4052ab 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 #4052ab, or check how it holds up for accessibility.