Color Reference · Midnight Slate
#231E49
oklch(26.7% 0.077 285)
HEX
#231E49
OKLCH
oklch(26.7% 0.077 285)
RGB
rgb(35, 30, 73)
HSL
hsl(247deg 42% 20%)
Relative Luminance
Y = 0.0177
Using #231E49 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 15.52:1
Sample text on Slate (#0F172A)
Contrast ratio 1.15:1
Using #231E49 as Button / Surface Fill
White ink (#FFFFFF) on #231E49
Contrast ratio 15.52:1
Dark ink (#0F172A) on #231E49
Contrast ratio 1.15:1
Recommended accessible ink on #231E49: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.