Color #3a478b
A moderately saturated dark blue.
Conversions
#3a478b
rgb(58, 71, 139)
hsl(230.4, 41.1%, 38.6%)
hsv(230.4, 58.3%, 54.5%)
cmyk(58.3%, 48.9%, 0%, 45.5%)
lab(32.41, 16.29, -39.6)
lch(32.41, 42.82, 292.36)
oklch(42.4%, 0.1131, 272.53)
hwb(230.4, 22.7%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (8.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40407f · ΔE 3.8
Deuteranopia
#3f3e7b · ΔE 4.5
Tritanopia
#3b7471 · ΔE 29
Achromatopsia
#4c4c4c · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a478b;
bg-[#3a478b]
Related colors
Frequently asked questions
#3a478b (#3a478b) is rgb(58, 71, 139) in RGB.
No, #3a478b 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 #3a478b, or check how it holds up for accessibility.