Color #5a6282
A muted medium blue.
Conversions
#5a6282
rgb(90, 98, 130)
hsl(228, 18.2%, 43.1%)
hsv(228, 30.8%, 51%)
cmyk(30.8%, 24.6%, 0%, 49%)
lab(42.03, 4.89, -18.83)
lch(42.03, 19.45, 284.56)
oklch(50.2%, 0.0521, 273.52)
hwb(228, 35.3%, 49%)
Harmony colors
Accessibility
White text reads better on this background (5.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5e5e7b · ΔE 3.4
Deuteranopia
#5d5c79 · ΔE 4
Tritanopia
#5a7574 · ΔE 19.3
Achromatopsia
#636363 · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a6282;
bg-[#5a6282]
Related colors
Frequently asked questions
#5a6282 (#5a6282) is rgb(90, 98, 130) in RGB.
No, #5a6282 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 #5a6282, or check how it holds up for accessibility.