Color #405088
A muted dark blue.
Conversions
#405088
rgb(64, 80, 136)
hsl(226.7, 36%, 39.2%)
hsv(226.7, 52.9%, 53.3%)
cmyk(52.9%, 41.2%, 0%, 46.7%)
lab(35.21, 10.7, -33.27)
lch(35.21, 34.95, 287.83)
oklch(44.5%, 0.0942, 270.18)
hwb(226.7, 25.1%, 46.7%)
Harmony colors
Accessibility
White text reads better on this background (7.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#47487d · ΔE 4.5
Deuteranopia
#47457b · ΔE 5.6
Tritanopia
#417472 · ΔE 26.1
Achromatopsia
#535353 · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405088;
bg-[#405088]
Related colors
Frequently asked questions
#405088 (#405088) is rgb(64, 80, 136) in RGB.
No, #405088 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 #405088, or check how it holds up for accessibility.