Color Reference · Charcoal Storm

#40394F

oklch(36.1% 0.038 299)

HEX
#40394F
OKLCH
oklch(36.1% 0.038 299)
RGB
rgb(64, 57, 79)
HSL
hsl(259deg 16% 27%)
Relative Luminance
Y = 0.0458

Using #40394F as Text Foreground

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

Using #40394F as Button / Surface Fill

White ink (#FFFFFF) on #40394F
Contrast ratio 10.96:1
AAA
Dark ink (#0F172A) on #40394F
Contrast ratio 1.63:1
Fail

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