RGB to HEX: #00BCFF
Also known as: Tailwind sky-400
Result
rgb(0 188 255) → #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. base 10 → base 16
R = 0 = 0×16 + 0 → 00 G = 188 = 11×16 + 12 → BC B = 255 = 15×16 + 15 → FF
2. pairs → HEX
00 BC FF → #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?