Color #4d388b
A moderately saturated dark blue.
Conversions
#4d388b
rgb(77, 56, 139)
hsl(255.2, 42.6%, 38.2%)
hsv(255.2, 59.7%, 54.5%)
cmyk(44.6%, 59.7%, 0%, 45.5%)
lab(30.08, 30.38, -43.26)
lch(30.08, 52.86, 305.08)
oklch(41%, 0.1322, 291.11)
hwb(255.2, 22%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (9.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45457d · ΔE 6.4
Deuteranopia
#464779 · ΔE 7.6
Tritanopia
#4c706d · ΔE 29.6
Achromatopsia
#474747 · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d388b;
bg-[#4d388b]
Related colors
Frequently asked questions
#4d388b (#4d388b) is rgb(77, 56, 139) in RGB.
No, #4d388b 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 #4d388b, or check how it holds up for accessibility.