Color Reference · Midnight Slate
#2C274C
oklch(29.8% 0.066 288)
HEX
#2C274C
OKLCH
oklch(29.8% 0.066 288)
RGB
rgb(44, 39, 76)
HSL
hsl(248deg 32% 23%)
Relative Luminance
Y = 0.0251
Using #2C274C as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.98:1
Sample text on Slate (#0F172A)
Contrast ratio 1.28:1
Using #2C274C as Button / Surface Fill
White ink (#FFFFFF) on #2C274C
Contrast ratio 13.98:1
Dark ink (#0F172A) on #2C274C
Contrast ratio 1.28:1
Recommended accessible ink on #2C274C: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.