Color #5058a6
A muted medium blue.
Conversions
#5058a6
rgb(80, 88, 166)
hsl(234.4, 35%, 48.2%)
hsv(234.4, 51.8%, 65.1%)
cmyk(51.8%, 47%, 0%, 34.9%)
lab(40.31, 19.32, -43.18)
lch(40.31, 47.31, 294.11)
oklch(49.3%, 0.1236, 276.46)
hwb(234.4, 31.4%, 34.9%)
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
#545498 · ΔE 3.1
Deuteranopia
#535294 · ΔE 3.9
Tritanopia
#508b88 · ΔE 30.7
Achromatopsia
#5f5f5f · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5058a6;
bg-[#5058a6]
Related colors
Frequently asked questions
#5058a6 (#5058a6) is rgb(80, 88, 166) in RGB.
No, #5058a6 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 #5058a6, or check how it holds up for accessibility.