Color #405a8f
A muted medium blue.
Conversions
#405a8f
rgb(64, 90, 143)
hsl(220.3, 38.2%, 40.6%)
hsv(220.3, 55.2%, 56.1%)
cmyk(55.2%, 37.1%, 0%, 43.9%)
lab(38.52, 6.61, -32.29)
lch(38.52, 32.96, 281.57)
oklch(47.2%, 0.0919, 263.44)
hwb(220.3, 25.1%, 43.9%)
Harmony colors
Accessibility
White text reads better on this background (6.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4d4d85 · ΔE 7.3
Deuteranopia
#4b4982 · ΔE 8.3
Tritanopia
#427c79 · ΔE 25.4
Achromatopsia
#5b5b5b · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405a8f;
bg-[#405a8f]
Related colors
Frequently asked questions
#405a8f (#405a8f) is rgb(64, 90, 143) in RGB.
No, #405a8f 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 #405a8f, or check how it holds up for accessibility.