Color #4d388d
A moderately saturated dark blue.
Conversions
#4d388d
rgb(77, 56, 141)
hsl(254.8, 43.1%, 38.6%)
hsv(254.8, 60.3%, 55.3%)
cmyk(45.4%, 60.3%, 0%, 44.7%)
lab(30.23, 30.99, -44.26)
lch(30.23, 54.03, 305)
oklch(41.2%, 0.1348, 290.63)
hwb(254.8, 22%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (9.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45457f · ΔE 6.3
Deuteranopia
#46477b · ΔE 7.5
Tritanopia
#4c726f · ΔE 30.1
Achromatopsia
#474747 · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d388d;
bg-[#4d388d]
Related colors
Frequently asked questions
#4d388d (#4d388d) is rgb(77, 56, 141) in RGB.
No, #4d388d 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 #4d388d, or check how it holds up for accessibility.