Color Reference · Midnight Slate
#2F2841
oklch(29.6% 0.045 296)
HEX
#2F2841
OKLCH
oklch(29.6% 0.045 296)
RGB
rgb(47, 40, 65)
HSL
hsl(257deg 24% 21%)
Relative Luminance
Y = 0.025
Using #2F2841 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.99:1
Sample text on Slate (#0F172A)
Contrast ratio 1.28:1
Using #2F2841 as Button / Surface Fill
White ink (#FFFFFF) on #2F2841
Contrast ratio 13.99:1
Dark ink (#0F172A) on #2F2841
Contrast ratio 1.28:1
Recommended accessible ink on #2F2841: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.