More than 250 migrants may have died when a boat sank a kilometre (half a mile) off the Libyan coast, a coastguard official said on Sunday.