OKLCH to HEX: #00BFFF
Also known as: CSS deepskyblue
Result
oklch(0.75535 0.15342 231.639) → #00BFFF
Values are shown at full precision, so converting back gives exactly #00bfff. 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.75535 0.15342 231.639)
2. OKLCH → Oklab
a = C·cos H = -0.09521 b = C·sin H = -0.12030
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.691652 m′ = L − 0.1056·a − 0.0639·b = 0.773083 s′ = L − 0.0895·a − 1.2915·b = 0.919235
4. cube
l = 0.691652³ = 0.330874 m = 0.773083³ = 0.462038 s = 0.919235³ = 0.776746
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.000005 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.520995 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.999989
6. linear → sRGB, × 255
R = 0.00006 × 255 = 0.01 → 0 G = 0.74902 × 255 = 191.00 → 191 B = 1.00000 × 255 = 255.00 → 255
7. RGB → HEX
#00BFFF
All formats
- HEX
- #00bfff
- RGB
- rgb(0 191 255)
- RGB (legacy)
- rgb(0, 191, 255)
- HSL
- hsl(195.06 100.00% 50.00%) → hsl(195 100% 50%)
- HWB
- hwb(195 0% 0%)
- OKLCH
- oklch(0.755 0.153 231.6) · oklch(75.5% 0.153 231.6)
- OKLab
- oklab(0.755 -0.095 -0.120)
- Lab (D50)
- lab(71.83 -24.07 -43.56)
- LCH (D50)
- lch(71.83 49.76 241.07)
- Display P3
- color(display-p3 0.3363 0.7378 0.9769)
- Linear sRGB
- color(srgb-linear 0.0000 0.5210 1.0000)
Gamut: sRGB and Display P3
#00BFFF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.153 and Display P3 reaches 0.166; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #00bfff;
color: rgb(0 191 255);
color: hsl(195 100% 50%);
color: oklch(0.755 0.153 231.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.755 0.153 231.6);
}
/* arbitrary values */
class="text-[#00bfff] bg-[oklch(0.755_0.153_231.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3363 0.7378 0.9769); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00bfff calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- sky-400#00BCFF
- v3 sky-400#38BDF8
- cyan-500#00B8DB
- v3 cyan-500#06B6D4
- cyan-400#00D3F2
- sky-500#00A6F4
- v3 cyan-400#22D3EE
- v3 sky-500#0EA5E9
Lighter and darker, same hue and chroma
- #35D3FF · oklch(0.815 0.153 231.6) · ΔL +0.06
- #00ACEB · oklch(0.695 0.153 231.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?