Color #4a3786
A moderately saturated dark blue.
Conversions
#4a3786
rgb(74, 55, 134)
hsl(254.4, 41.8%, 37.1%)
hsv(254.4, 59%, 52.5%)
cmyk(44.8%, 59%, 0%, 47.5%)
lab(29.18, 28.78, -41.63)
lch(29.18, 50.61, 304.66)
oklch(40.2%, 0.1267, 290.65)
hwb(254.4, 21.6%, 47.5%)
Harmony colors
Accessibility
White text reads better on this background (9.62:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434279 · ΔE 5.8
Deuteranopia
#444575 · ΔE 7.3
Tritanopia
#496d6a · ΔE 29.3
Achromatopsia
#454545 · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a3786;
bg-[#4a3786]
Related colors
Frequently asked questions
#4a3786 (#4a3786) is rgb(74, 55, 134) in RGB.
No, #4a3786 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 #4a3786, or check how it holds up for accessibility.