Skip to main content

bg-blue-300

Tailwind Blue 300

#93C5FD·Blue family·Shade 300

Color Values

HEX
#93C5FD
RGB
rgb(147, 197, 253)
HSL
hsl(212, 96%, 78%)
OKLCH
oklch(0.809 0.096 252)
CMYK
cmyk(42%, 22%, 0%, 1%)
CSS Variable
var(--color-blue-300)
Tailwind Class
bg-blue-300

Accessibility Score

60/100

Good

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

On White

1.8:1

Fail

On Black

11.65:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-blue-300

Text

text-blue-300

Border

border-blue-300

Ring

ring-blue-300

Outline

outline-blue-300

Fill

fill-blue-300

Stroke

stroke-blue-300

From (gradient)

from-blue-300

Via (gradient)

via-blue-300

To (gradient)

to-blue-300

Placeholder

placeholder-blue-300

Caret

caret-blue-300

Accent

accent-blue-300

Decoration

decoration-blue-300

Shadow Color

shadow-blue-300

Tailwind v3 Config (extend custom color)

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

CSS Equivalent

/* Hex */
background-color: #93C5FD;

/* RGB */
background-color: rgb(147, 197, 253);

/* HSL */
background-color: hsl(212, 96%, 78%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.809 0.096 252);

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

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

OKLCH — Modern Color Space

Lightness (L)

0.809

81% perceived brightness

Chroma (C)

0.096

Color intensity / saturation

Hue (H)

252°

Angle on perceptual hue wheel

oklch(0.809 0.096 252)

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 Blue 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 — #93C5FD

Frequently Asked Questions

What is the hex code for Tailwind Blue 300?
Tailwind Blue 300 has the hex code #93C5FD. Its RGB value is rgb(147, 197, 253) and its HSL value is hsl(212, 96%, 78%).
What Tailwind utility classes use Blue 300?
Use bg-blue-300 for backgrounds, text-blue-300 for text color, border-blue-300 for borders, and ring-blue-300 for focus rings. In Tailwind v4 the CSS variable var(--color-blue-300) is available natively.
Is Tailwind Blue 300 WCAG accessible?
Tailwind Blue 300 achieves a 1.8:1 contrast ratio on white (Fail) and 11.65:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Blue 300?
Tailwind Blue 300 in OKLCH is oklch(0.809 0.096 252) — lightness 0.809, chroma 0.096, hue 252°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Blue 300 used for?
At shade 300, Tailwind Blue 300 is best described as "Light mid-tone accent". Recommended uses: Secondary button outlines, Icon strokes on dark backgrounds, Progress bar fills.