OKLCH to HEX: #00BCFF
Also known as: Tailwind sky-400
Result
oklch(0.74841 0.15510 233.252) → #00BCFF
Values are shown at full precision, so converting back gives exactly #00bcff. 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.74841 0.15510 233.252)
2. OKLCH → Oklab
a = C·cos H = -0.09280 b = C·sin H = -0.12428
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.684812 m′ = L − 0.1056·a − 0.0639·b = 0.766141 s′ = L − 0.0895·a − 1.2915·b = 0.917217
4. cube
l = 0.684812³ = 0.321154 m = 0.766141³ = 0.449704 s = 0.917217³ = 0.771642
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = -0.000001 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.502877 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.999989
6. linear → sRGB, × 255
R = 0.00000 × 255 = 0.00 → 0 G = 0.73725 × 255 = 188.00 → 188 B = 1.00000 × 255 = 255.00 → 255
7. RGB → HEX
#00BCFF
All formats
- HEX
- #00bcff
- RGB
- rgb(0 188 255)
- RGB (legacy)
- rgb(0, 188, 255)
- HSL
- hsl(195.76 100.00% 50.00%) → hsl(196 100% 50%)
- HWB
- hwb(196 0% 0%)
- OKLCH
- oklch(0.748 0.155 233.3) · oklch(74.8% 0.155 233.3)
- OKLab
- oklab(0.748 -0.093 -0.124)
- Lab (D50)
- lab(70.95 -22.67 -44.93)
- LCH (D50)
- lch(70.95 50.33 243.23)
- Display P3
- color(display-p3 0.3305 0.7262 0.9763)
- Linear sRGB
- color(srgb-linear 0.0000 0.5029 1.0000)
Gamut: sRGB and Display P3
#00BCFF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.155 and Display P3 reaches 0.168; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #00bcff;
color: rgb(0 188 255);
color: hsl(196 100% 50%);
color: oklch(0.748 0.155 233.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.748 0.155 233.3);
}
/* arbitrary values */
class="text-[#00bcff] bg-[oklch(0.748_0.155_233.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3305 0.7262 0.9763); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00bcff calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- deepskyblue#00BFFF
- v3 sky-400#38BDF8
- cyan-500#00B8DB
- sky-500#00A6F4
- v3 cyan-500#06B6D4
- v3 sky-500#0EA5E9
- v3 blue-400#60A5FA
- blue-400#51A2FF
Lighter and darker, same hue and chroma
- #34D0FF · oklch(0.808 0.155 233.3) · ΔL +0.06
- #00A9EB · oklch(0.688 0.155 233.3) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?