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