Color Reference · Midnight Slate
#180E45
oklch(22.1% 0.097 283)
HEX
#180E45
OKLCH
oklch(22.1% 0.097 283)
RGB
rgb(24, 14, 69)
HSL
hsl(251deg 66% 16%)
Relative Luminance
Y = 0.0094
Using #180E45 as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 17.68:1
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Using #180E45 as Button / Surface Fill
White ink (#FFFFFF) on #180E45
Contrast ratio 17.68:1
Dark ink (#0F172A) on #180E45
Contrast ratio 1.01:1
Recommended accessible ink on #180E45: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.