HEX to HSL: #B0C4DE

Also known as: CSS lightsteelblue

Result

#B0C4DE → hsl(214 41% 78%)

Values are shown at full precision, so converting back gives exactly #b0c4de. 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.6902
    G = 0.7686
    B = 0.8706
  2. 2. max, min, Δ

    max = 0.8706
    min = 0.6902
    Δ = max − min = 0.1804
  3. 3. L

    L = (max + min) / 2 = 0.7804 = 78.04%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.4107 = 41.07%
  5. 5. H

    max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.6902 − 0.7686) / 0.1804 + 4) = 213.91°
  6. 6. HSL

    hsl(213.91 41.07% 78.04%)

All formats

HEX
#b0c4de
RGB
rgb(176 196 222)
RGB (legacy)
rgb(176, 196, 222)
HSL
hsl(213.91 41.07% 78.04%) → hsl(214 41% 78%)
HWB
hwb(214 69% 13%)
OKLCH
oklch(0.814 0.043 255.0) · oklch(81.4% 0.043 255.0)
OKLab
oklab(0.814 -0.011 -0.041)
Lab (D50)
lab(78.26 -2.90 -15.43)
LCH (D50)
lch(78.26 15.70 259.35)
Display P3
color(display-p3 0.7050 0.7662 0.8610)
Linear sRGB
color(srgb-linear 0.4342 0.5520 0.7305)

Gamut: sRGB and Display P3

#B0C4DE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.095 and Display P3 reaches 0.104; this color uses 45% of the sRGB chroma available.

CSS snippets

.element {
  color: #b0c4de;
  color: rgb(176 196 222);
  color: hsl(214 41% 78%);
  color: oklch(0.814 0.043 255.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.814 0.043 255.0);
}
/* arbitrary values */
class="text-[#b0c4de] bg-[oklch(0.814_0.043_255.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7050 0.7662 0.8610); }
}

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

  • #C3D7F2 · oklch(0.874 0.043 255.0) · ΔL +0.06
  • #9DB1CA · oklch(0.754 0.043 255.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?