HEX to OKLCH: #E3E7E8
Also known as: Tailwind mist-200
Result
#E3E7E8 → oklch(0.925 0.005 214.3)
Values are shown at full precision, so converting back gives exactly #e3e7e8. 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: 227/255 = 0.89020 → 0.768151 (((x + 0.055) / 1.055)^2.4) G: 231/255 = 0.90588 → 0.799103 (((x + 0.055) / 1.055)^2.4) B: 232/255 = 0.90980 → 0.806952 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.786748 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.793387 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.801315
3. cube root
l′ = ∛0.786748 = 0.923163 m′ = ∛0.793387 = 0.925753 s′ = ∛0.801315 = 0.928826
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.92520 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.00374 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.00255
5. Oklab → OKLCH
C = √(a² + b²) = 0.00453 H = atan2(b, a) = 214.330° L = 0.92520
6. OKLCH
oklch(0.92520 0.00453 214.330) rounded: oklch(0.925 0.005 214.3)
All formats
- HEX
- #e3e7e8
- RGB
- rgb(227 231 232)
- RGB (legacy)
- rgb(227, 231, 232)
- HSL
- hsl(192.00 9.80% 90.00%) → hsl(192 10% 90%)
- HWB
- hwb(192 89% 9%)
- OKLCH
- oklch(0.925 0.005 214.3) · oklch(92.5% 0.005 214.3)
- OKLab
- oklab(0.925 -0.004 -0.003)
- Lab (D50)
- lab(91.36 -1.25 -0.98)
- LCH (D50)
- lch(91.36 1.59 218.08)
- Display P3
- color(display-p3 0.8930 0.9054 0.9092)
- Linear sRGB
- color(srgb-linear 0.7682 0.7991 0.8070)
Gamut: sRGB and Display P3
#E3E7E8 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.065; this color uses 8% of the sRGB chroma available.
CSS snippets
.element {
color: #e3e7e8;
color: rgb(227 231 232);
color: hsl(192 10% 90%);
color: oklch(0.925 0.005 214.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.925 0.005 214.3);
}
/* arbitrary values */
class="text-[#e3e7e8] bg-[oklch(0.925_0.005_214.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8930 0.9054 0.9092); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e3e7e8 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- gray-200#E5E7EB
- neutral-200#E5E5E5
- stone-200#E7E5E4
- zinc-200#E4E4E7
- mauve-200#E7E4E7
- taupe-200#E8E4E3
- olive-200#E8E8E3
- slate-200#E2E8F0
Lighter and darker, same hue and chroma
- #F7FBFC · oklch(0.985 0.005 214.3) · ΔL +0.06
- #CFD3D4 · oklch(0.865 0.005 214.3) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?