Hello,
If it is pale, blue, or cool then consult a doctor as it may be subungual hematoma which may have to be drained.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
Possibly would turn out to be a small trauma based hematoma(not serious) in resolution.
Do consult your doc.