Color Values
- HEX
- #0EA5E9
- RGB
- rgb(14, 165, 233)
- HSL
- hsl(199, 89%, 48%)
- OKLCH
- oklch(0.685 0.148 237)
- CMYK
- cmyk(94%, 29%, 0%, 9%)
- CSS Variable
- var(--color-sky-500)
- Tailwind Class
- bg-sky-500
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
2.77:1
On Black
7.58:1
Tailwind Usage — All Utilities
Background
bg-sky-500Text
text-sky-500Border
border-sky-500Ring
ring-sky-500Outline
outline-sky-500Fill
fill-sky-500Stroke
stroke-sky-500From (gradient)
from-sky-500Via (gradient)
via-sky-500To (gradient)
to-sky-500Placeholder
placeholder-sky-500Caret
caret-sky-500Accent
accent-sky-500Decoration
decoration-sky-500Shadow Color
shadow-sky-500Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'sky-500': '#0ea5e9',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #0EA5E9;
/* RGB */
background-color: rgb(14, 165, 233);
/* HSL */
background-color: hsl(199, 89%, 48%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.685 0.148 237);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-sky-500);
/* Gradient example */
background: linear-gradient(135deg, #f0f9ff 0%, #0284c7 100%);OKLCH — Modern Color Space
Lightness (L)
0.685
69% perceived brightness
Chroma (C)
0.148
Color intensity / saturation
Hue (H)
237°
Angle on perceptual hue wheel
oklch(0.685 0.148 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
Primary brand color
Shade 500 of the Sky palette
Recommended Uses
- ✓CTA buttons
- ✓Active navigation links
- ✓Primary brand accents
- ✓Interactive element fills
- ✓Highlighted badges
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #0EA5E9
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Sky 500
Nearest Tailwind equivalent — #0EA5E9
Frequently Asked Questions
- What is the hex code for Tailwind Sky 500?
- Tailwind Sky 500 has the hex code #0EA5E9. Its RGB value is rgb(14, 165, 233) and its HSL value is hsl(199, 89%, 48%).
- What Tailwind utility classes use Sky 500?
- Use bg-sky-500 for backgrounds, text-sky-500 for text color, border-sky-500 for borders, and ring-sky-500 for focus rings. In Tailwind v4 the CSS variable var(--color-sky-500) is available natively.
- Is Tailwind Sky 500 WCAG accessible?
- Tailwind Sky 500 achieves a 2.77:1 contrast ratio on white (Fail) and 7.58:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Sky 500?
- Tailwind Sky 500 in OKLCH is oklch(0.685 0.148 237) — lightness 0.685, chroma 0.148, hue 237°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Sky 500 used for?
- At shade 500, Tailwind Sky 500 is best described as "Primary brand color". Recommended uses: CTA buttons, Active navigation links, Primary brand accents.