RGB to HEX: #BAE6FD
Also known as: Tailwind v3 sky-200
Result
rgb(186 230 253) → #BAE6FD
Values are shown at full precision, so converting back gives exactly #bae6fd. 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 = 186 = 11×16 + 10 → BA G = 230 = 14×16 + 6 → E6 B = 253 = 15×16 + 13 → FD
2. pairs → HEX
BA E6 FD → #BAE6FD
All formats
- HEX
- #bae6fd
- RGB
- rgb(186 230 253)
- RGB (legacy)
- rgb(186, 230, 253)
- HSL
- hsl(200.60 94.37% 86.08%) → hsl(201 94% 86%)
- HWB
- hwb(201 73% 1%)
- OKLCH
- oklch(0.901 0.055 230.9) · oklch(90.1% 0.055 230.9)
- OKLab
- oklab(0.901 -0.035 -0.043)
- Lab (D50)
- lab(88.74 -10.94 -16.13)
- LCH (D50)
- lch(88.74 19.49 235.86)
- Display P3
- color(display-p3 0.7638 0.8969 0.9822)
- Linear sRGB
- color(srgb-linear 0.4910 0.7913 0.9823)
Gamut: sRGB and Display P3
#BAE6FD is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.059 and Display P3 reaches 0.065; this color uses 94% of the sRGB chroma available.
CSS snippets
.element {
color: #bae6fd;
color: rgb(186 230 253);
color: hsl(201 94% 86%);
color: oklch(0.901 0.055 230.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.901 0.055 230.9);
}
/* arbitrary values */
class="text-[#bae6fd] bg-[oklch(0.901_0.055_230.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7638 0.8969 0.9822); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #bae6fd calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- sky-200#B8E6FE
- v3 blue-200#BFDBFE
- blue-200#BEDBFF
- powderblue#B0E0E6
- paleturquoise#AFEEEE
- v3 cyan-200#A5F3FC
- cyan-200#A2F4FD
- blue-100#DBEAFE
Lighter and darker, same hue and chroma
- #CDFAFF · oklch(0.961 0.055 230.9) · ΔL +0.06
- #A7D2E9 · oklch(0.841 0.055 230.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?