I'm trying to make an effect similar to this but in blender instead of unity :

The darker inner part is a cylinder which is inside a larger cylinder with inverted normals and a solid blue material, which makes a solid blue outline around the smaller cylinder. How can I achieve this in blender?

