Color Reference · Cosmic Dusk
#2D245E
oklch(30.6% 0.099 286)
HEX
#2D245E
OKLCH
oklch(30.6% 0.099 286)
RGB
rgb(45, 36, 94)
HSL
hsl(249deg 45% 25%)
Relative Luminance
Y = 0.0263
Using #2D245E as Text Foreground
Sample text on White (#FFFFFF)
Contrast ratio 13.77:1
Sample text on Slate (#0F172A)
Contrast ratio 1.3:1
Using #2D245E as Button / Surface Fill
White ink (#FFFFFF) on #2D245E
Contrast ratio 13.77:1
Dark ink (#0F172A) on #2D245E
Contrast ratio 1.3:1
Recommended accessible ink on #2D245E: #FFFFFF.
OKLCH Tonal Scale (50–950)
Click any shade step to inspect its conversions and contrast profile.