Color Reference · Midnight Slate
#231A41
oklch(25.2% 0.071 291)
HEX
#231A41
OKLCH
oklch(25.2% 0.071 291)
RGB
rgb(35, 26, 65)
HSL
hsl(254deg 43% 18%)
Relative Luminance
Y = 0.0148
Using #231A41 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.21:1
Sample text on Slate (#0F172A)
Contrast ratio 1.1:1
Using #231A41 as Button / Surface Fill
White ink (#FFFFFF) on #231A41
Contrast ratio 16.21:1
Dark ink (#0F172A) on #231A41
Contrast ratio 1.1:1
Recommended accessible ink on #231A41: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.