Color #4a5ea6
A muted medium blue.
Conversions
#4a5ea6
rgb(74, 94, 166)
hsl(227, 38.3%, 47.1%)
hsv(227, 55.4%, 65.1%)
cmyk(55.4%, 43.4%, 0%, 34.9%)
lab(41.55, 14.13, -41.22)
lch(41.55, 43.57, 288.92)
oklch(50.1%, 0.1171, 270.05)
hwb(227, 29%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (6.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#535498 · ΔE 5.3
Deuteranopia
#525195 · ΔE 6.2
Tritanopia
#4b8d8a · ΔE 29.8
Achromatopsia
#626262 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a5ea6;
bg-[#4a5ea6]
Related colors
Frequently asked questions
#4a5ea6 (#4a5ea6) is rgb(74, 94, 166) in RGB.
No, #4a5ea6 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 #4a5ea6, or check how it holds up for accessibility.