HSL to HEX: #F3F4F6

Also known as: Tailwind gray-100, Tailwind v3 gray-100

Result

hsl(220.00 14.29% 95.88%) → #F3F4F6

Values are shown at full precision, so converting back gives exactly #f3f4f6. 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. 1. input

    H = 220.00°, S = 14.29%, L = 95.88%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.01177
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00392   (H / 60° = 3.6667, sector 3)
  4. 4. m

    m = L − C / 2 = 0.95291
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.00392, 0.01177)
    R = round((0.00000 + 0.95291) × 255) = 243
    G = round((0.00392 + 0.95291) × 255) = 244
    B = round((0.01177 + 0.95291) × 255) = 246
  6. 6. RGB → HEX

    #F3F4F6

All formats

HEX
#f3f4f6
RGB
rgb(243 244 246)
RGB (legacy)
rgb(243, 244, 246)
HSL
hsl(220.00 14.29% 95.88%) → hsl(220 14% 96%)
HWB
hwb(220 95% 4%)
OKLCH
oklch(0.967 0.003 264.5) · oklch(96.7% 0.003 264.5)
OKLab
oklab(0.967 0.000 -0.003)
Lab (D50)
lab(96.15 -0.08 -1.09)
LCH (D50)
lch(96.15 1.09 265.85)
Display P3
color(display-p3 0.9536 0.9567 0.9639)
Linear sRGB
color(srgb-linear 0.8963 0.9047 0.9216)

Gamut: sRGB and Display P3

#F3F4F6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.015 and Display P3 reaches 0.017; this color uses 19% of the sRGB chroma available.

CSS snippets

.element {
  color: #f3f4f6;
  color: rgb(243 244 246);
  color: hsl(220 14% 96%);
  color: oklch(0.967 0.003 264.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.967 0.003 264.5);
}
/* arbitrary values */
class="text-[#f3f4f6] bg-[oklch(0.967_0.003_264.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9536 0.9567 0.9639); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f3f4f6 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #FEFFFF · oklch(1.000 0.003 264.5) · ΔL +0.06
  • #DFE0E2 · oklch(0.907 0.003 264.5) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?