Color #405ca0
A moderately saturated medium blue.
Conversions
#405ca0
rgb(64, 92, 160)
hsl(222.5, 42.9%, 43.9%)
hsv(222.5, 60%, 62.7%)
cmyk(60%, 42.5%, 0%, 37.3%)
lab(40.05, 11.2, -40.08)
lch(40.05, 41.62, 285.61)
oklch(48.7%, 0.1144, 265.49)
hwb(222.5, 25.1%, 37.3%)
Harmony colors
Accessibility
White text reads better on this background (6.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4e4e93 · ΔE 7.1
Deuteranopia
#4c4a90 · ΔE 8.2
Tritanopia
#428885 · ΔE 28.8
Achromatopsia
#5e5e5e · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405ca0;
bg-[#405ca0]
Related colors
Frequently asked questions
#405ca0 (#405ca0) is rgb(64, 92, 160) in RGB.
No, #405ca0 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 #405ca0, or check how it holds up for accessibility.