Color Reference · Midnight Slate
#2D273C
oklch(28.9% 0.038 297)
HEX
#2D273C
OKLCH
oklch(28.9% 0.038 297)
RGB
rgb(45, 39, 60)
HSL
hsl(257deg 21% 19%)
Relative Luminance
Y = 0.0234
Using #2D273C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.31:1
Sample text on Slate (#0F172A)
Contrast ratio 1.25:1
Using #2D273C as Button / Surface Fill
White ink (#FFFFFF) on #2D273C
Contrast ratio 14.31:1
Dark ink (#0F172A) on #2D273C
Contrast ratio 1.25:1
Recommended accessible ink on #2D273C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.