Color Reference · Midnight Slate
#1C162F
oklch(22.1% 0.048 293)
HEX
#1C162F
OKLCH
oklch(22.1% 0.048 293)
RGB
rgb(28, 22, 47)
HSL
hsl(254deg 36% 14%)
Relative Luminance
Y = 0.0103
Using #1C162F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.42:1
Sample text on Slate (#0F172A)
Contrast ratio 1.02:1
Using #1C162F as Button / Surface Fill
White ink (#FFFFFF) on #1C162F
Contrast ratio 17.42:1
Dark ink (#0F172A) on #1C162F
Contrast ratio 1.02:1
Recommended accessible ink on #1C162F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.