Color #3a4787
A muted dark blue.
Conversions
#3a4787
rgb(58, 71, 135)
hsl(229.9, 39.9%, 37.8%)
hsv(229.9, 57%, 52.9%)
cmyk(57%, 47.4%, 0%, 47.1%)
lab(32.16, 14.88, -37.54)
lch(32.16, 40.38, 291.62)
oklch(42.1%, 0.107, 272.41)
hwb(229.9, 22.7%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (8.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40407b · ΔE 3.9
Deuteranopia
#3f3e78 · ΔE 4.5
Tritanopia
#3b716e · ΔE 28.2
Achromatopsia
#4c4c4c · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a4787;
bg-[#3a4787]
Related colors
Frequently asked questions
#3a4787 (#3a4787) is rgb(58, 71, 135) in RGB.
No, #3a4787 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 #3a4787, or check how it holds up for accessibility.