Color #5a6182
A muted medium blue.
Conversions
#5a6182
rgb(90, 97, 130)
hsl(229.5, 18.2%, 43.1%)
hsv(229.5, 30.8%, 51%)
cmyk(30.8%, 25.4%, 0%, 49%)
lab(41.74, 5.51, -19.27)
lch(41.74, 20.04, 285.96)
oklch(50%, 0.0534, 275.05)
hwb(229.5, 35.3%, 49%)
Harmony colors
Accessibility
White text reads better on this background (6.06:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5d5d7b · ΔE 3.1
Deuteranopia
#5d5c79 · ΔE 3.6
Tritanopia
#5a7574 · ΔE 19.9
Achromatopsia
#626262 · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6182;
bg-[#5a6182]
Related colors
Frequently asked questions
#5a6182 (#5a6182) is rgb(90, 97, 130) in RGB.
No, #5a6182 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 #5a6182, or check how it holds up for accessibility.