Color Reference · Midnight Slate
#12173B
oklch(22.4% 0.069 274)
HEX
#12173B
OKLCH
oklch(22.4% 0.069 274)
RGB
rgb(18, 23, 59)
HSL
hsl(233deg 53% 15%)
Relative Luminance
Y = 0.0106
Using #12173B as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.33:1
Sample text on Slate (#0F172A)
Contrast ratio 1.03:1
Using #12173B as Button / Surface Fill
White ink (#FFFFFF) on #12173B
Contrast ratio 17.33:1
Dark ink (#0F172A) on #12173B
Contrast ratio 1.03:1
Recommended accessible ink on #12173B: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.