Color Reference · Abyssal Blue

#304B8A

oklch(42.5% 0.11 265)

HEX
#304B8A
OKLCH
oklch(42.5% 0.11 265)
RGB
rgb(48, 75, 138)
HSL
hsl(222deg 48% 36%)
Relative Luminance
Y = 0.075

Using #304B8A as Text Foreground

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

Using #304B8A as Button / Surface Fill

White ink (#FFFFFF) on #304B8A
Contrast ratio 8.4:1
AAA
Dark ink (#0F172A) on #304B8A
Contrast ratio 2.12:1
Fail

Recommended accessible ink on #304B8A: #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 #304B8A