OKLCH to HEX: #BAE6FD
Also known as: Tailwind v3 sky-200
Result
oklch(0.90138 0.05549 230.902) → #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. input
oklch(0.90138 0.05549 230.902)
2. OKLCH → Oklab
a = C·cos H = -0.03499 b = C·sin H = -0.04306
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.878217 m′ = L − 0.1056·a − 0.0639·b = 0.907824 s′ = L − 0.0895·a − 1.2915·b = 0.960128
4. cube
l = 0.878217³ = 0.677338 m = 0.907824³ = 0.748178 s = 0.960128³ = 0.885090
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.491004 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.791303 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.982268
6. linear → sRGB, × 255
R = 0.72940 × 255 = 186.00 → 186 G = 0.90196 × 255 = 230.00 → 230 B = 0.99216 × 255 = 253.00 → 253
7. RGB → HEX
#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?