Color Reference · Midnight Slate
#2A243C
oklch(27.9% 0.044 295)
HEX
#2A243C
OKLCH
oklch(27.9% 0.044 295)
RGB
rgb(42, 36, 60)
HSL
hsl(255deg 25% 19%)
Relative Luminance
Y = 0.0208
Using #2A243C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.83:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #2A243C as Button / Surface Fill
White ink (#FFFFFF) on #2A243C
Contrast ratio 14.83:1
Dark ink (#0F172A) on #2A243C
Contrast ratio 1.2:1
Recommended accessible ink on #2A243C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.