HEX to RGB: #00BCFF

Also known as: Tailwind sky-400

Result

#00BCFF → rgb(0 188 255)

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. 1. HEX → pairs

    #00BCFF → 00 | BC | FF
  2. 2. base 16 → base 10

    R = 00₁₆ = 0×16 + 0 = 0
    G = BC₁₆ = 11×16 + 12 = 188
    B = FF₁₆ = 15×16 + 15 = 255
  3. 3. RGB

    rgb(0 188 255)

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).

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

All converters →

Guides: What is OKLCH?