Color Values
- HEX
- #22D3EE
- RGB
- rgb(34, 211, 238)
- HSL
- hsl(188, 86%, 53%)
- OKLCH
- oklch(0.797 0.134 212)
- CMYK
- cmyk(86%, 11%, 0%, 7%)
- CSS Variable
- var(--color-cyan-400)
- Tailwind Class
- bg-cyan-400
Accessibility Score
Good
Based on WCAG 2.1 contrast ratios against white and black backgrounds.
On White
1.81:1
On Black
11.62:1
Tailwind Usage — All Utilities
Background
bg-cyan-400Text
text-cyan-400Border
border-cyan-400Ring
ring-cyan-400Outline
outline-cyan-400Fill
fill-cyan-400Stroke
stroke-cyan-400From (gradient)
from-cyan-400Via (gradient)
via-cyan-400To (gradient)
to-cyan-400Placeholder
placeholder-cyan-400Caret
caret-cyan-400Accent
accent-cyan-400Decoration
decoration-cyan-400Shadow Color
shadow-cyan-400Tailwind v3 Config (extend custom color)
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'cyan-400': '#22d3ee',
},
},
},
};CSS Equivalent
/* Hex */
background-color: #22D3EE;
/* RGB */
background-color: rgb(34, 211, 238);
/* HSL */
background-color: hsl(188, 86%, 53%);
/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.797 0.134 212);
/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-cyan-400);
/* Gradient example */
background: linear-gradient(135deg, #ecfeff 0%, #06b6d4 100%);OKLCH — Modern Color Space
Lightness (L)
0.797
80% perceived brightness
Chroma (C)
0.134
Color intensity / saturation
Hue (H)
212°
Angle on perceptual hue wheel
oklch(0.797 0.134 212)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
Mid-tone accent
Shade 400 of the Cyan palette
Recommended Uses
- ✓Icon fills on white
- ✓Secondary buttons (large text)
- ✓Chart & data visualization bars
- ✓Decorative UI elements
Avoid
Preview
On White
Aa Bb Cc
On Black
Aa Bb Cc
As Background
Aa Bb Cc — #22D3EE
Similar Tailwind Colors
Perceptually close shades from other Tailwind color families.
Nearest Named Color
Tailwind Cyan 400
Nearest Tailwind equivalent — #22D3EE
Frequently Asked Questions
- What is the hex code for Tailwind Cyan 400?
- Tailwind Cyan 400 has the hex code #22D3EE. Its RGB value is rgb(34, 211, 238) and its HSL value is hsl(188, 86%, 53%).
- What Tailwind utility classes use Cyan 400?
- Use bg-cyan-400 for backgrounds, text-cyan-400 for text color, border-cyan-400 for borders, and ring-cyan-400 for focus rings. In Tailwind v4 the CSS variable var(--color-cyan-400) is available natively.
- Is Tailwind Cyan 400 WCAG accessible?
- Tailwind Cyan 400 achieves a 1.81:1 contrast ratio on white (Fail) and 11.62:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
- What is the OKLCH value for Tailwind Cyan 400?
- Tailwind Cyan 400 in OKLCH is oklch(0.797 0.134 212) — lightness 0.797, chroma 0.134, hue 212°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
- What is Tailwind Cyan 400 used for?
- At shade 400, Tailwind Cyan 400 is best described as "Mid-tone accent". Recommended uses: Icon fills on white, Secondary buttons (large text), Chart & data visualization bars.