HEX to HSL: #A2F4FD
Also known as: Tailwind cyan-200
Result
#A2F4FD → hsl(186 96% 81%)
Values are shown at full precision, so converting back gives exactly #a2f4fd. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. RGB ÷ 255
R = 0.6353 G = 0.9569 B = 0.9922
2. max, min, Δ
max = 0.9922 min = 0.6353 Δ = max − min = 0.3569
3. L
L = (max + min) / 2 = 0.8137 = 81.37%
4. S
S = Δ / (1 − |2L − 1|) = 0.9579 = 95.79%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.6353 − 0.9569) / 0.3569 + 4) = 185.93°
6. HSL
hsl(185.93 95.79% 81.37%)
All formats
- HEX
- #a2f4fd
- RGB
- rgb(162 244 253)
- RGB (legacy)
- rgb(162, 244, 253)
- HSL
- hsl(185.93 95.79% 81.37%) → hsl(186 96% 81%)
- HWB
- hwb(186 64% 1%)
- OKLCH
- oklch(0.918 0.081 204.6) · oklch(91.8% 0.081 204.6)
- OKLab
- oklab(0.918 -0.073 -0.034)
- Lab (D50)
- lab(91.17 -24.30 -12.71)
- LCH (D50)
- lch(91.17 27.42 207.61)
- Display P3
- color(display-p3 0.7068 0.9484 0.9849)
- Linear sRGB
- color(srgb-linear 0.3613 0.9047 0.9823)
Gamut: sRGB and Display P3
#A2F4FD is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.087 and Display P3 reaches 0.094; this color uses 93% of the sRGB chroma available.
CSS snippets
.element {
color: #a2f4fd;
color: rgb(162 244 253);
color: hsl(186 96% 81%);
color: oklch(0.918 0.081 204.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.918 0.081 204.6);
}
/* arbitrary values */
class="text-[#a2f4fd] bg-[oklch(0.918_0.081_204.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7068 0.9484 0.9849); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a2f4fd calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 cyan-200#A5F3FC
- paleturquoise#AFEEEE
- v3 teal-200#99F6E4
- teal-200#96F7E4
- sky-200#B8E6FE
- v3 sky-200#BAE6FD
- cyan-100#CEFAFE
- powderblue#B0E0E6
Lighter and darker, same hue and chroma
- #B6FFFF · oklch(0.978 0.081 204.6) · ΔL +0.06
- #8EE0E9 · oklch(0.858 0.081 204.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?