#0F172A
Very Dark Blue
A deterministic reference card for #0F172A. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.
- RGB
- 15, 23, 42
- HSL
- 222°, 47%, 11%
- Text
- White on top
Tailwind CSS · slate
tailwind · slate 900
The Tailwind CSS utility classes bg-slate-900, text-slate-900, and friends all reference this hex value.
Developer snippets
Copy-ready code
Every snippet below is generated from the hex — not a hand-maintained table.
Conversions
Same color, seven encodings
Nearest matches
Closest in other design systems
Accessibility
Contrast against white & black
On white
The quick brown fox
Jumps over the lazy dog. Testing readability of #0F172A as the text color.
Rating · AAA
On black
The quick brown fox
Jumps over the lazy dog. Testing readability of #0F172A as the text color.
Rating · Fail
Recommendation
When using #0F172A as a background, pair it with #ffffff text for the best WCAG contrast.
Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.
Related Tailwind swatches