Color contrast answer
Does #f8fafc work on #0f172a?
#f8fafc text on a #0f172a 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.