Find distance from color blue

Hello,
For a project I need to find the distance from a blue line of tape.
Some background info is I am trying to create an autonomous model car and need the distance between the camera and the lane.
How would I go about doing this?

Thanks,
Dev_101


)