Color Reference · Cosmic Dusk

#212B59

oklch(30.7% 0.083 271)

HEX
#212B59
OKLCH
oklch(30.7% 0.083 271)
RGB
rgb(33, 43, 89)
HSL
hsl(229deg 46% 24%)
Relative Luminance
Y = 0.0277

Using #212B59 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 13.51:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.32:1
Fail

Using #212B59 as Button / Surface Fill

White ink (#FFFFFF) on #212B59
Contrast ratio 13.51:1
AAA
Dark ink (#0F172A) on #212B59
Contrast ratio 1.32:1
Fail

Recommended accessible ink on #212B59: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #212B59