#0f0f1b
#0f0f1b converts to rgb(15, 15, 27) and hsl(240, 29%, 8%). Its nearest Tailwind CSS token is gray-900.
01
Conversions
02
WCAG contrast
| Background | Ratio | AA text | AA large | AAA text |
|---|---|---|---|---|
| white | 19.01:1 | pass | pass | pass |
| black | 1.10:1 | fail | fail | fail |
| slate-900 | 1.07:1 | fail | fail | fail |
| gray-100 | 17.28:1 | pass | pass | pass |
Ratios are computed from WCAG 2.x relative luminance. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.
03
Tints and shades
Lightness ladder in HSL space, from the lightest tint to the darkest shade of #0f0f1b.
04
Similar colors in the library
Nearest swatches by perceptual OKLab distance across all curated style palettes.
05
AI prompt snippet
Use #0f0f1b (rgb(15, 15, 27), nearest Tailwind token gray-900) as an accent. Keep text contrast at least 4.5:1 — this color scores 19.01:1 on white and 1.1:1 on black.
Paste this into ChatGPT, Claude, Cursor, or v0 to use #0f0f1b with correct contrast constraints. Browse all palette colors.