HEX to HSL: #BFDBFE

Also known as: Tailwind v3 blue-200

Result

#BFDBFE → hsl(213 97% 87%)

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

    R = 0.7490
    G = 0.8588
    B = 0.9961
  2. 2. max, min, Δ

    max = 0.9961
    min = 0.7490
    Δ = max − min = 0.2471
  3. 3. L

    L = (max + min) / 2 = 0.8725 = 87.25%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.9692 = 96.92%
  5. 5. H

    max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.7490 − 0.8588) / 0.2471 + 4) = 213.33°
  6. 6. HSL

    hsl(213.33 96.92% 87.25%)

All formats

HEX
#bfdbfe
RGB
rgb(191 219 254)
RGB (legacy)
rgb(191, 219, 254)
HSL
hsl(213.33 96.92% 87.25%) → hsl(213 97% 87%)
HWB
hwb(213 75% 0%)
OKLCH
oklch(0.882 0.057 254.1) · oklch(88.2% 0.057 254.1)
OKLab
oklab(0.882 -0.016 -0.055)
Lab (D50)
lab(86.20 -3.95 -20.40)
LCH (D50)
lch(86.20 20.78 259.04)
Display P3
color(display-p3 0.7700 0.8555 0.9834)
Linear sRGB
color(srgb-linear 0.5210 0.7084 0.9911)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #bfdbfe;
  color: rgb(191 219 254);
  color: hsl(213 97% 87%);
  color: oklch(0.882 0.057 254.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.882 0.057 254.1);
}
/* arbitrary values */
class="text-[#bfdbfe] bg-[oklch(0.882_0.057_254.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7700 0.8555 0.9834); }
}

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

  • #D2EFFF · oklch(0.942 0.057 254.1) · ΔL +0.06
  • #ACC8EA · oklch(0.822 0.057 254.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?