01
The ratio is arithmetic
Relative luminance weights green most and blue least, then the ratio is (lighter + 0.05) / (darker + 0.05). It runs from 1:1 to 21:1 and never depends on hue. Two colours with the same luminance have the same ratio whatever they look like.