It "may" be the same color in two different types of paint. I read on a forum- perhaps this one - that a particular shade will vary depending upon paint type, enamel, lacquer, 2-pack, water based etc will look "similar" but won't be identical to each other.
Probably the best you can do is take...