Color #4c31fe
A vivid, highly saturated medium blue.
Conversions
#4c31fe
rgb(76, 49, 254)
hsl(247.9, 99%, 59.4%)
hsv(247.9, 80.7%, 99.6%)
cmyk(70.1%, 80.7%, 0%, 0.4%)
lab(39.39, 68.07, -95.4)
lch(39.39, 117.2, 305.51)
oklch(50.8%, 0.2773, 275.96)
hwb(247.9, 19.2%, 0.4%)
Harmony colors
Accessibility
White text reads better on this background (6.61:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4242e2 · ΔE 4.4
Deuteranopia
#4345da · ΔE 5.5
Tritanopia
#4bc8c1 · ΔE 51.1
Achromatopsia
#5d5d5d · ΔE 32.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4c31fe;
bg-[#4c31fe]
Related colors
Frequently asked questions
#4c31fe (#4c31fe) is rgb(76, 49, 254) in RGB.
No, #4c31fe 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 #4c31fe, or check how it holds up for accessibility.