Skip to main content

bg-sky-300

Tailwind Sky 300

#7DD3FC·Sky family·Shade 300

Color Values

HEX
#7DD3FC
RGB
rgb(125, 211, 252)
HSL
hsl(199, 95%, 74%)
OKLCH
oklch(0.828 0.101 230)
CMYK
cmyk(50%, 16%, 0%, 1%)
CSS Variable
var(--color-sky-300)
Tailwind Class
bg-sky-300

Accessibility Score

60/100

Good

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

On White

1.67:1

Fail

On Black

12.6:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-sky-300

Text

text-sky-300

Border

border-sky-300

Ring

ring-sky-300

Outline

outline-sky-300

Fill

fill-sky-300

Stroke

stroke-sky-300

From (gradient)

from-sky-300

Via (gradient)

via-sky-300

To (gradient)

to-sky-300

Placeholder

placeholder-sky-300

Caret

caret-sky-300

Accent

accent-sky-300

Decoration

decoration-sky-300

Shadow Color

shadow-sky-300

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #7DD3FC;

/* RGB */
background-color: rgb(125, 211, 252);

/* HSL */
background-color: hsl(199, 95%, 74%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.828 0.101 230);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.828

83% perceived brightness

Chroma (C)

0.101

Color intensity / saturation

Hue (H)

230°

Angle on perceptual hue wheel

oklch(0.828 0.101 230)

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

Light mid-tone accent

Shade 300 of the Sky palette

Recommended Uses

  • Secondary button outlines
  • Icon strokes on dark backgrounds
  • Progress bar fills
  • Selected state highlights

Avoid

Normal-size text on white — generally below WCAG AA threshold.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #7DD3FC

Frequently Asked Questions

What is the hex code for Tailwind Sky 300?
Tailwind Sky 300 has the hex code #7DD3FC. Its RGB value is rgb(125, 211, 252) and its HSL value is hsl(199, 95%, 74%).
What Tailwind utility classes use Sky 300?
Use bg-sky-300 for backgrounds, text-sky-300 for text color, border-sky-300 for borders, and ring-sky-300 for focus rings. In Tailwind v4 the CSS variable var(--color-sky-300) is available natively.
Is Tailwind Sky 300 WCAG accessible?
Tailwind Sky 300 achieves a 1.67:1 contrast ratio on white (Fail) and 12.6:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Sky 300?
Tailwind Sky 300 in OKLCH is oklch(0.828 0.101 230) — lightness 0.828, chroma 0.101, hue 230°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Sky 300 used for?
At shade 300, Tailwind Sky 300 is best described as "Light mid-tone accent". Recommended uses: Secondary button outlines, Icon strokes on dark backgrounds, Progress bar fills.