Color Reference · Midnight Slate
#151E31
oklch(23.7% 0.039 264)
HEX
#151E31
OKLCH
oklch(23.7% 0.039 264)
RGB
rgb(21, 30, 49)
HSL
hsl(221deg 40% 14%)
Relative Luminance
Y = 0.0131
Using #151E31 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 16.64:1
Sample text on Slate (#0F172A)
Contrast ratio 1.07:1
Using #151E31 as Button / Surface Fill
White ink (#FFFFFF) on #151E31
Contrast ratio 16.64:1
Dark ink (#0F172A) on #151E31
Contrast ratio 1.07:1
Recommended accessible ink on #151E31: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.