Color #5a488f
A muted medium blue.
Conversions
#5a488f
rgb(90, 72, 143)
hsl(255.2, 33%, 42.2%)
hsv(255.2, 49.7%, 56.1%)
cmyk(37.1%, 49.7%, 0%, 43.9%)
lab(35.58, 24.91, -36.83)
lch(35.58, 44.46, 304.07)
oklch(45.5%, 0.113, 293.03)
hwb(255.2, 28.2%, 43.9%)
Harmony colors
Accessibility
White text reads better on this background (7.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#535382 · ΔE 6.2
Deuteranopia
#54557f · ΔE 7.4
Tritanopia
#597774 · ΔE 27.8
Achromatopsia
#545454 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a488f;
bg-[#5a488f]
Related colors
Frequently asked questions
#5a488f (#5a488f) is rgb(90, 72, 143) in RGB.
No, #5a488f 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 #5a488f, or check how it holds up for accessibility.