Skip to main content

bg-blue-50

Tailwind Blue 50

#EFF6FF·Blue family·Shade 50

Color Values

HEX
#EFF6FF
RGB
rgb(239, 246, 255)
HSL
hsl(214, 100%, 97%)
OKLCH
oklch(0.970 0.014 255)
CMYK
cmyk(6%, 4%, 0%, 0%)
CSS Variable
var(--color-blue-50)
Tailwind Class
bg-blue-50

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

1.09:1

Fail

On Black

19.3:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-blue-50

Text

text-blue-50

Border

border-blue-50

Ring

ring-blue-50

Outline

outline-blue-50

Fill

fill-blue-50

Stroke

stroke-blue-50

From (gradient)

from-blue-50

Via (gradient)

via-blue-50

To (gradient)

to-blue-50

Placeholder

placeholder-blue-50

Caret

caret-blue-50

Accent

accent-blue-50

Decoration

decoration-blue-50

Shadow Color

shadow-blue-50

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'blue-50': '#eff6ff', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #EFF6FF;

/* RGB */
background-color: rgb(239, 246, 255);

/* HSL */
background-color: hsl(214, 100%, 97%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.970 0.014 255);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-blue-50);

/* Gradient example */
background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

OKLCH — Modern Color Space

Lightness (L)

0.970

97% perceived brightness

Chroma (C)

0.014

Color intensity / saturation

Hue (H)

255°

Angle on perceptual hue wheel

oklch(0.970 0.014 255)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Ultra-light background tint

Shade 50 of the Blue palette

Recommended Uses

  • Page backgrounds
  • Subtle section fills
  • Notification banners
  • Hover state backgrounds
  • Table row alternates

Avoid

Text on white — contrast is too low for readability.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #EFF6FF

Frequently Asked Questions

What is the hex code for Tailwind Blue 50?
Tailwind Blue 50 has the hex code #EFF6FF. Its RGB value is rgb(239, 246, 255) and its HSL value is hsl(214, 100%, 97%).
What Tailwind utility classes use Blue 50?
Use bg-blue-50 for backgrounds, text-blue-50 for text color, border-blue-50 for borders, and ring-blue-50 for focus rings. In Tailwind v4 the CSS variable var(--color-blue-50) is available natively.
Is Tailwind Blue 50 WCAG accessible?
Tailwind Blue 50 achieves a 1.09:1 contrast ratio on white (Fail) and 19.3:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Blue 50?
Tailwind Blue 50 in OKLCH is oklch(0.970 0.014 255) — lightness 0.970, chroma 0.014, hue 255°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Blue 50 used for?
At shade 50, Tailwind Blue 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.