HSL to HEX: #B0C4DE

Also known as: CSS lightsteelblue

Result

hsl(213.91 41.07% 78.04%) → #B0C4DE

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. input

    H = 213.91°, S = 41.07%, L = 78.04%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.18038
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.07843   (H / 60° = 3.5652, sector 3)
  4. 4. m

    m = L − C / 2 = 0.69021
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.07843, 0.18038)
    R = round((0.00000 + 0.69021) × 255) = 176
    G = round((0.07843 + 0.69021) × 255) = 196
    B = round((0.18038 + 0.69021) × 255) = 222
  6. 6. RGB → HEX

    #B0C4DE

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?