It would be good to standardize those. WebKit honors the border-color and uses a specific algorithm that has contrast issues: https://bugs.webkit.org/show_bug.cgi?id=261847 Chromium does not honor the border-color afaik and hardcodes to gray. Gecko honors the border-color and doesn't have contrast issues: https://searchfox.org/mozilla-central/rev/077fc34d03b85b09add26b5f99f1a3a3a72c8720/gfx/wr/webrender/res/cs_border_segment.glsl#140