Color Reference · Charcoal Storm

#40404A

oklch(37.5% 0.017 286)

HEX
#40404A
OKLCH
oklch(37.5% 0.017 286)
RGB
rgb(64, 64, 74)
HSL
hsl(240deg 7% 27%)
Relative Luminance
Y = 0.0525

Using #40404A as Text Foreground

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

Using #40404A as Button / Surface Fill

White ink (#FFFFFF) on #40404A
Contrast ratio 10.24:1
AAA
Dark ink (#0F172A) on #40404A
Contrast ratio 1.74:1
Fail

Recommended accessible ink on #40404A: #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 #40404A