Color Reference · Charcoal Storm

#40404F

oklch(37.7% 0.025 285)

HEX
#40404F
OKLCH
oklch(37.7% 0.025 285)
RGB
rgb(64, 64, 79)
HSL
hsl(240deg 10% 28%)
Relative Luminance
Y = 0.0532

Using #40404F as Text Foreground

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

Using #40404F as Button / Surface Fill

White ink (#FFFFFF) on #40404F
Contrast ratio 10.17:1
AAA
Dark ink (#0F172A) on #40404F
Contrast ratio 1.75:1
Fail

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