Color Reference · Midnight Slate
#151F41
oklch(25.1% 0.066 269)
HEX
#151F41
OKLCH
oklch(25.1% 0.066 269)
RGB
rgb(21, 31, 65)
HSL
hsl(226deg 51% 17%)
Relative Luminance
Y = 0.0152
Using #151F41 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.1:1
Sample text on Slate (#0F172A)
Contrast ratio 1.11:1
Using #151F41 as Button / Surface Fill
White ink (#FFFFFF) on #151F41
Contrast ratio 16.1:1
Dark ink (#0F172A) on #151F41
Contrast ratio 1.11:1
Recommended accessible ink on #151F41: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.