RGB to HEX: #BFDBFE

Also known as: Tailwind v3 blue-200

Result

rgb(191 219 254) → #BFDBFE

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. base 10 → base 16

    R = 191 = 11×16 + 15 → BF
    G = 219 = 13×16 + 11 → DB
    B = 254 = 15×16 + 14 → FE
  2. 2. pairs → HEX

    BF DB FE → #BFDBFE

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?