If you are sure the cold water tap is on (turn vaves off, disconnect hoses from the washer and turn on in a bucket to make sure) then it is likely the cold water solenoid. Not an expensive part, and not too hard to change, but you will need to pull the washer away from the wall and be moderaely handy withg tools.
-Ryan
-Ryan