Color #40528d
A muted medium blue.
Conversions
#40528d
rgb(64, 82, 141)
hsl(226, 37.6%, 40.2%)
hsv(226, 54.6%, 55.3%)
cmyk(54.6%, 41.8%, 0%, 44.7%)
lab(36.07, 11.09, -34.96)
lch(36.07, 36.68, 287.6)
oklch(45.3%, 0.0991, 269.36)
hwb(226, 25.1%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (7.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#484982 · ΔE 4.9
Deuteranopia
#47467f · ΔE 5.8
Tritanopia
#417876 · ΔE 26.6
Achromatopsia
#555555 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40528d;
bg-[#40528d]
Related colors
Frequently asked questions
#40528d (#40528d) is rgb(64, 82, 141) in RGB.
No, #40528d 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 #40528d, or check how it holds up for accessibility.