Color Reference · Midnight Slate
#2A273E
oklch(28.7% 0.042 289)
HEX
#2A273E
OKLCH
oklch(28.7% 0.042 289)
RGB
rgb(42, 39, 62)
HSL
hsl(248deg 23% 20%)
Relative Luminance
Y = 0.0229
Using #2A273E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.4:1
Sample text on Slate (#0F172A)
Contrast ratio 1.24:1
Using #2A273E as Button / Surface Fill
White ink (#FFFFFF) on #2A273E
Contrast ratio 14.4:1
Dark ink (#0F172A) on #2A273E
Contrast ratio 1.24:1
Recommended accessible ink on #2A273E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.