HEX to OKLCH: #B0C4DE
Also known as: CSS lightsteelblue
Result
#B0C4DE → oklch(0.814 0.043 255.0)
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. sRGB → linear
R: 176/255 = 0.69020 → 0.434154 (((x + 0.055) / 1.055)^2.4) G: 196/255 = 0.76863 → 0.552011 (((x + 0.055) / 1.055)^2.4) B: 222/255 = 0.87059 → 0.730461 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.512608 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.546202 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.654024
3. cube root
l′ = ∛0.512608 = 0.800317 m′ = ∛0.546202 = 0.817431 s′ = ∛0.654024 = 0.868023
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.81362 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.01106 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.04136
5. Oklab → OKLCH
C = √(a² + b²) = 0.04281 H = atan2(b, a) = 255.033° L = 0.81362
6. OKLCH
oklch(0.81362 0.04281 255.033) rounded: oklch(0.814 0.043 255.0)
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).
- silver#C0C0C0
- skyblue#87CEEB
- lightblue#ADD8E6
- v3 blue-300#93C5FD
- thistle#D8BFD8
- lightskyblue#87CEFA
- blue-300#8EC5FF
- slate-300#CAD5E2
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
Guides: What is OKLCH?