Color Reference · Midnight Slate
#2F233C
oklch(28.2% 0.047 306)
HEX
#2F233C
OKLCH
oklch(28.2% 0.047 306)
RGB
rgb(47, 35, 60)
HSL
hsl(269deg 26% 19%)
Relative Luminance
Y = 0.0213
Using #2F233C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.72:1
Sample text on Slate (#0F172A)
Contrast ratio 1.21:1
Using #2F233C as Button / Surface Fill
White ink (#FFFFFF) on #2F233C
Contrast ratio 14.72:1
Dark ink (#0F172A) on #2F233C
Contrast ratio 1.21:1
Recommended accessible ink on #2F233C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.