Both logos include the same word in a uniform font which cancels out in the comparison.
However, there are objectively millions of ways to setup a blue color gradient around white letters that all look the same. There is exactly one way to have a pure black font.
Therefore the second logo is objectively less distinctive.