Color Reference · Midnight Slate
#301F45
oklch(28% 0.07 303)
HEX
#301F45
OKLCH
oklch(28% 0.07 303)
RGB
rgb(48, 31, 69)
HSL
hsl(267deg 38% 20%)
Relative Luminance
Y = 0.0204
Using #301F45 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 14.92:1
Sample text on Slate (#0F172A)
Contrast ratio 1.2:1
Using #301F45 as Button / Surface Fill
White ink (#FFFFFF) on #301F45
Contrast ratio 14.92:1
Dark ink (#0F172A) on #301F45
Contrast ratio 1.2:1
Recommended accessible ink on #301F45: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.