Color Reference · Midnight Slate
#2D183F
oklch(25.9% 0.074 307)
HEX
#2D183F
OKLCH
oklch(25.9% 0.074 307)
RGB
rgb(45, 24, 63)
HSL
hsl(272deg 45% 17%)
Relative Luminance
Y = 0.0157
Using #2D183F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.98:1
Sample text on Slate (#0F172A)
Contrast ratio 1.12:1
Using #2D183F as Button / Surface Fill
White ink (#FFFFFF) on #2D183F
Contrast ratio 15.98:1
Dark ink (#0F172A) on #2D183F
Contrast ratio 1.12:1
Recommended accessible ink on #2D183F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.