If you'll accept the step of copying the values into the tool that figures out the complementary colors for you, macOS comes with Digital Color Meter, which will tell you the color of anything on your screen.
Commentbait, I smell it but still will say this.. A good side project takes one or more known solutions and applies it to a niche. There's endless niches out there if you stand still and squint a bit.