Color Reference · Charcoal Storm

#1F404E

oklch(35.3% 0.046 228)

HEX
#1F404E
OKLCH
oklch(35.3% 0.046 228)
RGB
rgb(31, 64, 78)
HSL
hsl(198deg 43% 21%)
Relative Luminance
Y = 0.0451

Using #1F404E as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 11.04:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.62:1
Fail

Using #1F404E as Button / Surface Fill

White ink (#FFFFFF) on #1F404E
Contrast ratio 11.04:1
AAA
Dark ink (#0F172A) on #1F404E
Contrast ratio 1.62:1
Fail

Recommended accessible ink on #1F404E: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #1F404E