Color #4e5a9f
A muted medium blue.
Conversions
#4e5a9f
rgb(78, 90, 159)
hsl(231.1, 34.2%, 46.5%)
hsv(231.1, 50.9%, 62.4%)
cmyk(50.9%, 43.4%, 0%, 37.6%)
lab(40.3, 15.29, -39.03)
lch(40.3, 41.92, 291.39)
oklch(49.1%, 0.111, 274.18)
hwb(231.1, 30.6%, 37.6%)
Harmony colors
Accessibility
White text reads better on this background (6.39:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#535492 · ΔE 3.7
Deuteranopia
#53528f · ΔE 4.5
Tritanopia
#4f8784 · ΔE 29
Achromatopsia
#5f5f5f · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e5a9f;
bg-[#4e5a9f]
Related colors
Frequently asked questions
#4e5a9f (#4e5a9f) is rgb(78, 90, 159) in RGB.
No, #4e5a9f 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 #4e5a9f, or check how it holds up for accessibility.