Color Reference · Midnight Slate
#1A1836
oklch(22.9% 0.057 284)
HEX
#1A1836
OKLCH
oklch(22.9% 0.057 284)
RGB
rgb(26, 24, 54)
HSL
hsl(244deg 38% 15%)
Relative Luminance
Y = 0.0114
Using #1A1836 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.1:1
Sample text on Slate (#0F172A)
Contrast ratio 1.04:1
Using #1A1836 as Button / Surface Fill
White ink (#FFFFFF) on #1A1836
Contrast ratio 17.1:1
Dark ink (#0F172A) on #1A1836
Contrast ratio 1.04:1
Recommended accessible ink on #1A1836: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.