Color #4f3799
A moderately saturated medium blue.
Conversions
#4f3799
rgb(79, 55, 153)
hsl(254.7, 47.1%, 40.8%)
hsv(254.7, 64.1%, 60%)
cmyk(48.4%, 64.1%, 0%, 40%)
lab(31.1, 35.66, -50.19)
lch(31.1, 61.57, 305.39)
oklch(42.1%, 0.1523, 289.48)
hwb(254.7, 21.6%, 40%)
Harmony colors
Accessibility
White text reads better on this background (8.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464689 · ΔE 6.7
Deuteranopia
#474985 · ΔE 8
Tritanopia
#4e7b77 · ΔE 33
Achromatopsia
#494949 · ΔE 26
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f3799;
bg-[#4f3799]
Related colors
Frequently asked questions
#4f3799 (#4f3799) is rgb(79, 55, 153) in RGB.
No, #4f3799 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 #4f3799, or check how it holds up for accessibility.