Color Reference · Charcoal Storm

#40404E

oklch(37.7% 0.024 285)

HEX
#40404E
OKLCH
oklch(37.7% 0.024 285)
RGB
rgb(64, 64, 78)
HSL
hsl(240deg 10% 28%)
Relative Luminance
Y = 0.0531

Using #40404E as Text Foreground

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

Using #40404E as Button / Surface Fill

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

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