Color #4d388a
A moderately saturated dark blue.
Conversions
#4d388a
rgb(77, 56, 138)
hsl(255.4, 42.3%, 38%)
hsv(255.4, 59.4%, 54.1%)
cmyk(44.2%, 59.4%, 0%, 45.9%)
lab(30.01, 30.08, -42.76)
lch(30.01, 52.28, 305.12)
oklch(40.9%, 0.1308, 291.35)
hwb(255.4, 22%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (9.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45457c · ΔE 6.5
Deuteranopia
#464779 · ΔE 7.5
Tritanopia
#4c706d · ΔE 29.6
Achromatopsia
#474747 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d388a;
bg-[#4d388a]
Related colors
Frequently asked questions
#4d388a (#4d388a) is rgb(77, 56, 138) in RGB.
No, #4d388a 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 #4d388a, or check how it holds up for accessibility.