Color #4064a5
A moderately saturated medium blue.
Conversions
#4064a5
rgb(64, 100, 165)
hsl(218.6, 44.1%, 44.9%)
hsv(218.6, 61.2%, 64.7%)
cmyk(61.2%, 39.4%, 0%, 35.3%)
lab(42.64, 7.86, -38.93)
lch(42.64, 39.72, 281.41)
oklch(50.8%, 0.1118, 261.36)
hwb(218.6, 25.1%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (5.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#525298 · ΔE 9.1
Deuteranopia
#504d95 · ΔE 10.5
Tritanopia
#428e8b · ΔE 28
Achromatopsia
#656565 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4064a5;
bg-[#4064a5]
Related colors
Frequently asked questions
#4064a5 (#4064a5) is rgb(64, 100, 165) in RGB.
No, #4064a5 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 #4064a5, or check how it holds up for accessibility.