Color Reference · Abyssal Blue
#31397F
oklch(37.9% 0.117 274)
HEX
#31397F
OKLCH
oklch(37.9% 0.117 274)
RGB
rgb(49, 57, 127)
HSL
hsl(234deg 44% 35%)
Relative Luminance
Y = 0.0511
Using #31397F as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 10.38:1
Sample text on Slate (#0F172A)
Contrast ratio 1.72:1
Using #31397F as Button / Surface Fill
White ink (#FFFFFF) on #31397F
Contrast ratio 10.38:1
Dark ink (#0F172A) on #31397F
Contrast ratio 1.72:1
Recommended accessible ink on #31397F: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.