Color #404d99
A moderately saturated medium blue.
Conversions
#404d99
rgb(64, 77, 153)
hsl(231.2, 41%, 42.5%)
hsv(231.2, 58.2%, 60%)
cmyk(58.2%, 49.7%, 0%, 40%)
lab(35.39, 18.51, -43.32)
lch(35.39, 47.11, 293.14)
oklch(45%, 0.1239, 273.15)
hwb(231.2, 25.1%, 40%)
Harmony colors
Accessibility
White text reads better on this background (7.67:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#46468b · ΔE 3.8
Deuteranopia
#454488 · ΔE 4.5
Tritanopia
#417f7c · ΔE 30.5
Achromatopsia
#535353 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #404d99;
bg-[#404d99]
Related colors
Frequently asked questions
#404d99 (#404d99) is rgb(64, 77, 153) in RGB.
No, #404d99 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 #404d99, or check how it holds up for accessibility.