Color Reference · Midnight Slate
#262146
oklch(27.4% 0.067 287)
HEX
#262146
OKLCH
oklch(27.4% 0.067 287)
RGB
rgb(38, 33, 70)
HSL
hsl(248deg 36% 20%)
Relative Luminance
Y = 0.0194
Using #262146 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.13:1
Sample text on Slate (#0F172A)
Contrast ratio 1.18:1
Using #262146 as Button / Surface Fill
White ink (#FFFFFF) on #262146
Contrast ratio 15.13:1
Dark ink (#0F172A) on #262146
Contrast ratio 1.18:1
Recommended accessible ink on #262146: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.