text: Detailed procedures for the cobalt thiocyanate test are available. The reagent consists of 2% cobalt thiocyanate dissolved in dilute acid. Glycerol is often added to stabilise the cobalt complex, ensuring it only goes blue when in contact with an analyte and not due to drying.
  Addition of the cobalt thiocyanate reagent to cocaine hydrochloride results in the surface of the particles turning a bright blue (faint blue for cocaine base). The solution changes back to pink upon adding some hydrochloric acid. Addition of chloroform, results in a blue organic layer for both cocaine hydrochloride and cocaine base. Diphenhydramine and lidocaine also give blue organic layers. These compounds are known false positives for cocaine. Lidocaine is commonly used to adulterate or mimic cocaine due to its local anaesthetic effect.
  If the procedure is adjusted to basify the sample rather than acidifying it, the test can be used to test for ketamine hydrochloride.