This might seem counterintuitive since "cravate" sounds feminine, but the noun itself is actually masculine.