Color Reference · Midnight Slate
#101040
oklch(21.2% 0.089 276)
HEX
#101040
OKLCH
oklch(21.2% 0.089 276)
RGB
rgb(16, 16, 64)
HSL
hsl(240deg 60% 16%)
Relative Luminance
Y = 0.0085
Using #101040 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.95:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #101040 as Button / Surface Fill
White ink (#FFFFFF) on #101040
Contrast ratio 17.95:1
Dark ink (#0F172A) on #101040
Contrast ratio 1.01:1
Recommended accessible ink on #101040: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.