HEX to OKLCH: #B8E6FE
Also known as: Tailwind sky-200
Result
#B8E6FE → oklch(0.900 0.058 230.9)
Values are shown at full precision, so converting back gives exactly #b8e6fe. 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. sRGB → linear
R: 184/255 = 0.72157 → 0.479320 (((x + 0.055) / 1.055)^2.4) G: 230/255 = 0.90196 → 0.791298 (((x + 0.055) / 1.055)^2.4) B: 254/255 = 0.99608 → 0.991102 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.672973 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.746647 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.889622
3. cube root
l′ = ∛0.672973 = 0.876326 m′ = ∛0.746647 = 0.907204 s′ = ∛0.889622 = 0.961764
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.90048 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.03649 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.04492
5. Oklab → OKLCH
C = √(a² + b²) = 0.05788 H = atan2(b, a) = 230.911° L = 0.90048
6. OKLCH
oklch(0.90048 0.05788 230.911) rounded: oklch(0.900 0.058 230.9)
All formats
- HEX
- #b8e6fe
- RGB
- rgb(184 230 254)
- RGB (legacy)
- rgb(184, 230, 254)
- HSL
- hsl(200.57 97.22% 85.88%) → hsl(201 97% 86%)
- HWB
- hwb(201 72% 0%)
- OKLCH
- oklch(0.900 0.058 230.9) · oklch(90.0% 0.058 230.9)
- OKLab
- oklab(0.900 -0.036 -0.045)
- Lab (D50)
- lab(88.64 -11.37 -16.82)
- LCH (D50)
- lch(88.64 20.30 235.93)
- Display P3
- color(display-p3 0.7578 0.8967 0.9858)
- Linear sRGB
- color(srgb-linear 0.4793 0.7913 0.9911)
Gamut: sRGB and Display P3
#B8E6FE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.065; this color uses 97% of the sRGB chroma available.
CSS snippets
.element {
color: #b8e6fe;
color: rgb(184 230 254);
color: hsl(201 97% 86%);
color: oklch(0.900 0.058 230.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.900 0.058 230.9);
}
/* arbitrary values */
class="text-[#b8e6fe] bg-[oklch(0.900_0.058_230.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7578 0.8967 0.9858); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #b8e6fe calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 sky-200#BAE6FD
- 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
- #CBFAFF · oklch(0.960 0.058 230.9) · ΔL +0.06
- #A5D2EA · oklch(0.840 0.058 230.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?