HSL to HEX: #00BFFF
Also known as: CSS deepskyblue
Result
hsl(195.06 100.00% 50.00%) → #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
H = 195.06°, S = 100.00%, L = 50.00%
2. C
C = (1 − |2L − 1|) × S = 1.00000
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.74900 (H / 60° = 3.2510, sector 3)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.74900, 1.00000) R = round((0.00000 + 0.00000) × 255) = 0 G = round((0.74900 + 0.00000) × 255) = 191 B = round((1.00000 + 0.00000) × 255) = 255
6. 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?