Color #4d398d
A moderately saturated dark blue.
Conversions
#4d398d
rgb(77, 57, 141)
hsl(254.3, 42.4%, 38.8%)
hsv(254.3, 59.6%, 55.3%)
cmyk(45.4%, 59.6%, 0%, 44.7%)
lab(30.46, 30.37, -43.88)
lch(30.46, 53.36, 304.69)
oklch(41.3%, 0.1334, 290.31)
hwb(254.3, 22.4%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (9.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45457f · ΔE 6.1
Deuteranopia
#46487b · ΔE 7.6
Tritanopia
#4c726f · ΔE 30
Achromatopsia
#484848 · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d398d;
bg-[#4d398d]
Related colors
Frequently asked questions
#4d398d (#4d398d) is rgb(77, 57, 141) in RGB.
No, #4d398d 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 #4d398d, or check how it holds up for accessibility.