Color #405274
A muted dark blue.
Conversions
#405274
rgb(64, 82, 116)
hsl(219.2, 28.9%, 35.3%)
hsv(219.2, 44.8%, 45.5%)
cmyk(44.8%, 29.3%, 0%, 54.5%)
lab(34.77, 2.83, -21.62)
lch(34.77, 21.8, 277.46)
oklch(43.9%, 0.0609, 262.64)
hwb(219.2, 25.1%, 54.5%)
Harmony colors
Accessibility
White text reads better on this background (7.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#48496d · ΔE 6.5
Deuteranopia
#47466b · ΔE 7.5
Tritanopia
#416766 · ΔE 19.9
Achromatopsia
#525252 · ΔE 14.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #405274;
bg-[#405274]
Related colors
Frequently asked questions
#405274 (#405274) is rgb(64, 82, 116) in RGB.
No, #405274 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 #405274, or check how it holds up for accessibility.