Color Reference · Charcoal Storm

#40394E

oklch(36.1% 0.037 300)

HEX
#40394E
OKLCH
oklch(36.1% 0.037 300)
RGB
rgb(64, 57, 78)
HSL
hsl(260deg 16% 26%)
Relative Luminance
Y = 0.0457

Using #40394E as Text Foreground

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

Using #40394E as Button / Surface Fill

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

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