Color #51648a
A muted medium blue.
Conversions
#51648a
rgb(81, 100, 138)
hsl(220, 26%, 42.9%)
hsv(220, 41.3%, 54.1%)
cmyk(41.3%, 27.5%, 0%, 45.9%)
lab(42.3, 3.2, -23.28)
lch(42.3, 23.5, 277.83)
oklch(50.4%, 0.0652, 263.75)
hwb(220, 31.8%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (5.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5a82 · ΔE 6.9
Deuteranopia
#595780 · ΔE 7.8
Tritanopia
#527b7a · ΔE 20.7
Achromatopsia
#646464 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51648a;
bg-[#51648a]
Related colors
Frequently asked questions
#51648a (#51648a) is rgb(81, 100, 138) in RGB.
No, #51648a 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 #51648a, or check how it holds up for accessibility.