HEX to HSL: #E2E8F0
Also known as: Tailwind slate-200, Tailwind v3 slate-200
Result
#E2E8F0 → hsl(214 32% 91%)
Values are shown at full precision, so converting back gives exactly #e2e8f0. 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. RGB ÷ 255
R = 0.8863 G = 0.9098 B = 0.9412
2. max, min, Δ
max = 0.9412 min = 0.8863 Δ = max − min = 0.0549
3. L
L = (max + min) / 2 = 0.9137 = 91.37%
4. S
S = Δ / (1 − |2L − 1|) = 0.3182 = 31.82%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.8863 − 0.9098) / 0.0549 + 4) = 214.29°
6. HSL
hsl(214.29 31.82% 91.37%)
All formats
- HEX
- #e2e8f0
- RGB
- rgb(226 232 240)
- RGB (legacy)
- rgb(226, 232, 240)
- HSL
- hsl(214.29 31.82% 91.37%) → hsl(214 32% 91%)
- HWB
- hwb(214 89% 6%)
- OKLCH
- oklch(0.929 0.013 255.5) · oklch(92.9% 0.013 255.5)
- OKLab
- oklab(0.929 -0.003 -0.012)
- Lab (D50)
- lab(91.71 -0.97 -4.63)
- LCH (D50)
- lch(91.71 4.73 258.16)
- Display P3
- color(display-p3 0.8905 0.9090 0.9380)
- Linear sRGB
- color(srgb-linear 0.7605 0.8070 0.8714)
Gamut: sRGB and Display P3
#E2E8F0 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.035 and Display P3 reaches 0.038; this color uses 36% of the sRGB chroma available.
CSS snippets
.element {
color: #e2e8f0;
color: rgb(226 232 240);
color: hsl(214 32% 91%);
color: oklch(0.929 0.013 255.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.929 0.013 255.5);
}
/* arbitrary values */
class="text-[#e2e8f0] bg-[oklch(0.929_0.013_255.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8905 0.9090 0.9380); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e2e8f0 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- gray-200#E5E7EB
- mist-200#E3E7E8
- zinc-200#E4E4E7
- mauve-200#E7E4E7
- neutral-200#E5E5E5
- stone-200#E7E5E4
- lavender#E6E6FA
- taupe-200#E8E4E3
Lighter and darker, same hue and chroma
- #F6FCFF · oklch(0.989 0.013 255.5) · ΔL +0.06
- #CED4DC · oklch(0.869 0.013 255.5) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?