HEX to RGB: #F1F5F9
Also known as: Tailwind slate-100, Tailwind v3 slate-100
Result
#F1F5F9 → rgb(241 245 249)
Values are shown at full precision, so converting back gives exactly #f1f5f9. 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. HEX → pairs
#F1F5F9 → F1 | F5 | F9
2. base 16 → base 10
R = F1₁₆ = 15×16 + 1 = 241 G = F5₁₆ = 15×16 + 5 = 245 B = F9₁₆ = 15×16 + 9 = 249
3. RGB
rgb(241 245 249)
All formats
- HEX
- #f1f5f9
- RGB
- rgb(241 245 249)
- RGB (legacy)
- rgb(241, 245, 249)
- HSL
- hsl(210.00 40.00% 96.08%) → hsl(210 40% 96%)
- HWB
- hwb(210 95% 2%)
- OKLCH
- oklch(0.968 0.007 247.9) · oklch(96.8% 0.007 247.9)
- OKLab
- oklab(0.968 -0.003 -0.006)
- Lab (D50)
- lab(96.32 -0.83 -2.42)
- LCH (D50)
- lch(96.32 2.56 250.94)
- Display P3
- color(display-p3 0.9479 0.9603 0.9748)
- Linear sRGB
- color(srgb-linear 0.8796 0.9131 0.9473)
Gamut: sRGB and Display P3
#F1F5F9 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.016 and Display P3 reaches 0.017; this color uses 43% of the sRGB chroma available.
CSS snippets
.element {
color: #f1f5f9;
color: rgb(241 245 249);
color: hsl(210 40% 96%);
color: oklch(0.968 0.007 247.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.968 0.007 247.9);
}
/* arbitrary values */
class="text-[#f1f5f9] bg-[oklch(0.968_0.007_247.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9479 0.9603 0.9748); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f1f5f9 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- gray-100#F3F4F6
- zinc-100#F4F4F5
- neutral-100#F5F5F5
- blue-50#EFF6FF
- mist-100#F1F3F3
- stone-100#F5F5F4
- aliceblue#F0F8FF
- mauve-100#F3F1F3
Lighter and darker, same hue and chroma
- #FCFFFF · oklch(1.000 0.007 247.9) · ΔL +0.06
- #DDE1E5 · oklch(0.908 0.007 247.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?