Color Reference · Charcoal Storm

#31385C

oklch(35.2% 0.063 274)

HEX
#31385C
OKLCH
oklch(35.2% 0.063 274)
RGB
rgb(49, 56, 92)
HSL
hsl(230deg 30% 28%)
Relative Luminance
Y = 0.0425

Using #31385C as Text Foreground

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

Using #31385C as Button / Surface Fill

White ink (#FFFFFF) on #31385C
Contrast ratio 11.35:1
AAA
Dark ink (#0F172A) on #31385C
Contrast ratio 1.57:1
Fail

Recommended accessible ink on #31385C: #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 #31385C