HEX to RGB: #B8E6FE

Also known as: Tailwind sky-200

Result

#B8E6FE → rgb(184 230 254)

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

    #B8E6FE → B8 | E6 | FE
  2. 2. base 16 → base 10

    R = B8₁₆ = 11×16 + 8 = 184
    G = E6₁₆ = 14×16 + 6 = 230
    B = FE₁₆ = 15×16 + 14 = 254
  3. 3. RGB

    rgb(184 230 254)

All formats

HEX
#b8e6fe
RGB
rgb(184 230 254)
RGB (legacy)
rgb(184, 230, 254)
HSL
hsl(200.57 97.22% 85.88%) → hsl(201 97% 86%)
HWB
hwb(201 72% 0%)
OKLCH
oklch(0.900 0.058 230.9) · oklch(90.0% 0.058 230.9)
OKLab
oklab(0.900 -0.036 -0.045)
Lab (D50)
lab(88.64 -11.37 -16.82)
LCH (D50)
lch(88.64 20.30 235.93)
Display P3
color(display-p3 0.7578 0.8967 0.9858)
Linear sRGB
color(srgb-linear 0.4793 0.7913 0.9911)

Gamut: sRGB and Display P3

#B8E6FE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.065; this color uses 97% of the sRGB chroma available.

CSS snippets

.element {
  color: #b8e6fe;
  color: rgb(184 230 254);
  color: hsl(201 97% 86%);
  color: oklch(0.900 0.058 230.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.900 0.058 230.9);
}
/* arbitrary values */
class="text-[#b8e6fe] bg-[oklch(0.900_0.058_230.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7578 0.8967 0.9858); }
}

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

  • #CBFAFF · oklch(0.960 0.058 230.9) · ΔL +0.06
  • #A5D2EA · oklch(0.840 0.058 230.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?