Thank you for your question.
I am Dr Saha, I shall try my best to help you.
Bluish area is due to hemorrhage in the subcutaneous tissue.
Swelling is due to inflammation following tissue injury.
Motrin can be taken to reduce inflammation and swelling.
After a few days icing will not help.
Rest to the part is needed.
You need an X-ray to rule out fracture in the bone.
In fracture without displacement, splint can help to keep the finger straight.
You can put adhesive tape with adjacent finger till you see doctor or take an X-ray.
I hope this information helps.
If there’s anything else I can do, please let me know.
If you are satisfied, please rate my answer as good or excellent.