OKLCH to HEX: #B0C4DE
Also known as: CSS lightsteelblue
Result
oklch(0.81362 0.04281 255.033) → #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. input
oklch(0.81362 0.04281 255.033)
2. OKLCH → Oklab
a = C·cos H = -0.01106 b = C·sin H = -0.04136
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.800313 m′ = L − 0.1056·a − 0.0639·b = 0.817428 s′ = L − 0.0895·a − 1.2915·b = 0.868022
4. cube
l = 0.800313³ = 0.512601 m = 0.817428³ = 0.546196 s = 0.868022³ = 0.654022
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.434142 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.552006 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.730463
6. linear → sRGB, × 255
R = 0.69019 × 255 = 176.00 → 176 G = 0.76862 × 255 = 196.00 → 196 B = 0.87059 × 255 = 222.00 → 222
7. 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).
- 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?