RGB to HEX: #A5F3FC
Also known as: Tailwind v3 cyan-200
Result
rgb(165 243 252) → #A5F3FC
Values are shown at full precision, so converting back gives exactly #a5f3fc. 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. base 10 → base 16
R = 165 = 10×16 + 5 → A5 G = 243 = 15×16 + 3 → F3 B = 252 = 15×16 + 12 → FC
2. pairs → HEX
A5 F3 FC → #A5F3FC
All formats
- HEX
- #a5f3fc
- RGB
- rgb(165 243 252)
- RGB (legacy)
- rgb(165, 243, 252)
- HSL
- hsl(186.21 93.55% 81.76%) → hsl(186 94% 82%)
- HWB
- hwb(186 65% 1%)
- OKLCH
- oklch(0.917 0.077 205.0) · oklch(91.7% 0.077 205.0)
- OKLab
- oklab(0.917 -0.070 -0.033)
- Lab (D50)
- lab(91.02 -23.21 -12.39)
- LCH (D50)
- lch(91.02 26.31 208.09)
- Display P3
- color(display-p3 0.7143 0.9448 0.9812)
- Linear sRGB
- color(srgb-linear 0.3763 0.8963 0.9734)
Gamut: sRGB and Display P3
#A5F3FC 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 89% of the sRGB chroma available.
CSS snippets
.element {
color: #a5f3fc;
color: rgb(165 243 252);
color: hsl(186 94% 82%);
color: oklch(0.917 0.077 205.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.917 0.077 205.0);
}
/* arbitrary values */
class="text-[#a5f3fc] bg-[oklch(0.917_0.077_205.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7143 0.9448 0.9812); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a5f3fc calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- cyan-200#A2F4FD
- paleturquoise#AFEEEE
- sky-200#B8E6FE
- v3 sky-200#BAE6FD
- v3 teal-200#99F6E4
- teal-200#96F7E4
- powderblue#B0E0E6
- cyan-100#CEFAFE
Lighter and darker, same hue and chroma
- #B9FFFF · oklch(0.977 0.077 205.0) · ΔL +0.06
- #92DFE8 · oklch(0.857 0.077 205.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?