Orthopaedics

A patient presents with pain and cold insensitivity at the fingertip. There is a bluish discoloration under the nail. The most likely diagnosis is?