Color #405397
A moderately saturated medium blue.
Conversions
#405397
rgb(64, 83, 151)
hsl(226.9, 40.5%, 42.2%)
hsv(226.9, 57.6%, 59.2%)
cmyk(57.6%, 45%, 0%, 40.8%)
lab(36.95, 13.89, -39.63)
lch(36.95, 41.99, 289.32)
oklch(46.2%, 0.1128, 269.8)
hwb(226.9, 25.1%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (7.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#49498a · ΔE 5.2
Deuteranopia
#484687 · ΔE 6.1
Tritanopia
#417f7d · ΔE 28.5
Achromatopsia
#575757 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405397;
bg-[#405397]
Related colors
Frequently asked questions
#405397 (#405397) is rgb(64, 83, 151) in RGB.
No, #405397 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 #405397, or check how it holds up for accessibility.