OKLCH to HEX: #F3F4F6

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

Result

oklch(0.96696 0.00287 264.542) → #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

    oklch(0.96696 0.00287 264.542)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.00027
    b = C·sin H = -0.00286
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.966235
    m′ = L − 0.1056·a − 0.0639·b = 0.967171
    s′ = L − 0.0895·a − 1.2915·b = 0.970674
  4. 4. cube

    l = 0.966235³ = 0.902087
    m = 0.967171³ = 0.904712
    s = 0.970674³ = 0.914577
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.896293
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.904673
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.921570
  6. 6. linear → sRGB, × 255

    R = 0.95295 × 255 = 243.00 → 243
    G = 0.95687 × 255 = 244.00 → 244
    B = 0.96470 × 255 = 246.00 → 246
  7. 7. 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?