Color Reference · Midnight Slate
#172136
oklch(24.9% 0.043 264)
HEX
#172136
OKLCH
oklch(24.9% 0.043 264)
RGB
rgb(23, 33, 54)
HSL
hsl(221deg 40% 15%)
Relative Luminance
Y = 0.0154
Using #172136 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.06:1
Sample text on Slate (#0F172A)
Contrast ratio 1.11:1
Using #172136 as Button / Surface Fill
White ink (#FFFFFF) on #172136
Contrast ratio 16.06:1
Dark ink (#0F172A) on #172136
Contrast ratio 1.11:1
Recommended accessible ink on #172136: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.