Skip to main content

bg-sky-50

Tailwind Sky 50

#F0F9FF·Sky family·Shade 50

Color Values

HEX
#F0F9FF
RGB
rgb(240, 249, 255)
HSL
hsl(204, 100%, 97%)
OKLCH
oklch(0.977 0.012 237)
CMYK
cmyk(6%, 2%, 0%, 0%)
CSS Variable
var(--color-sky-50)
Tailwind Class
bg-sky-50

Accessibility Score

60/100

Good

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

On White

1.07:1

Fail

On Black

19.7:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-sky-50

Text

text-sky-50

Border

border-sky-50

Ring

ring-sky-50

Outline

outline-sky-50

Fill

fill-sky-50

Stroke

stroke-sky-50

From (gradient)

from-sky-50

Via (gradient)

via-sky-50

To (gradient)

to-sky-50

Placeholder

placeholder-sky-50

Caret

caret-sky-50

Accent

accent-sky-50

Decoration

decoration-sky-50

Shadow Color

shadow-sky-50

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

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

/* RGB */
background-color: rgb(240, 249, 255);

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

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.977 0.012 237);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.977

98% perceived brightness

Chroma (C)

0.012

Color intensity / saturation

Hue (H)

237°

Angle on perceptual hue wheel

oklch(0.977 0.012 237)

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 Sky 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 — #F0F9FF

Frequently Asked Questions

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