HEX to RGB: #B0E0E6

Also known as: CSS powderblue

Result

#B0E0E6 → rgb(176 224 230)

Values are shown at full precision, so converting back gives exactly #b0e0e6. 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

    #B0E0E6 → B0 | E0 | E6
  2. 2. base 16 → base 10

    R = B0₁₆ = 11×16 + 0 = 176
    G = E0₁₆ = 14×16 + 0 = 224
    B = E6₁₆ = 14×16 + 6 = 230
  3. 3. RGB

    rgb(176 224 230)

All formats

HEX
#b0e0e6
RGB
rgb(176 224 230)
RGB (legacy)
rgb(176, 224, 230)
HSL
hsl(186.67 51.92% 79.61%) → hsl(187 52% 80%)
HWB
hwb(187 69% 10%)
OKLCH
oklch(0.875 0.050 205.7) · oklch(87.5% 0.050 205.7)
OKLab
oklab(0.875 -0.045 -0.022)
Lab (D50)
lab(85.95 -15.07 -8.31)
LCH (D50)
lch(85.95 17.21 208.88)
Display P3
color(display-p3 0.7283 0.8730 0.8972)
Linear sRGB
color(srgb-linear 0.4342 0.7454 0.7913)

Gamut: sRGB and Display P3

#B0E0E6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.129 and Display P3 reaches 0.139; this color uses 39% of the sRGB chroma available.

CSS snippets

.element {
  color: #b0e0e6;
  color: rgb(176 224 230);
  color: hsl(187 52% 80%);
  color: oklch(0.875 0.050 205.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.875 0.050 205.7);
}
/* arbitrary values */
class="text-[#b0e0e6] bg-[oklch(0.875_0.050_205.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7283 0.8730 0.8972); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #b0e0e6 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

  • #C3F4FA · oklch(0.935 0.050 205.7) · ΔL +0.06
  • #9DCCD2 · oklch(0.815 0.050 205.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?