Color #51507a
A muted dark blue.
Conversions
#51507a
rgb(81, 80, 122)
hsl(241.4, 20.8%, 39.6%)
hsv(241.4, 34.4%, 47.8%)
cmyk(33.6%, 34.4%, 0%, 52.2%)
lab(35.77, 11.08, -23.68)
lch(35.77, 26.14, 295.08)
oklch(45.1%, 0.0681, 284.36)
hwb(241.4, 31.4%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (7.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#515172 · ΔE 2.7
Deuteranopia
#51516f · ΔE 3.7
Tritanopia
#516a69 · ΔE 23.1
Achromatopsia
#545454 · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51507a;
bg-[#51507a]
Related colors
Frequently asked questions
#51507a (#51507a) is rgb(81, 80, 122) in RGB.
No, #51507a 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 #51507a, or check how it holds up for accessibility.