Combine the gin, blue curacao, cream of coconut, and lime juice together in a cocktail shaker with a few cubes of ice and shake until the outside is frosty. Place a few cubes of ice in a collins glass (or half-pint jar) and strain the contents of the cocktail shaker into the glass. Top with the tonic water and serve.