Color contrast answer
Does #0f172a work on #000000?
#0f172a text on a #000000 background has a contrast ratio of 1.18:1, so it fails common WCAG contrast thresholds for text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.