Color Reference · Charcoal Storm

#40475F

oklch(40.2% 0.042 272)

HEX
#40475F
OKLCH
oklch(40.2% 0.042 272)
RGB
rgb(64, 71, 95)
HSL
hsl(226deg 19% 31%)
Relative Luminance
Y = 0.0642

Using #40475F as Text Foreground

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

Using #40475F as Button / Surface Fill

White ink (#FFFFFF) on #40475F
Contrast ratio 9.19:1
AAA
Dark ink (#0F172A) on #40475F
Contrast ratio 1.94:1
Fail

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