RGB to HEX: #F3F4F6

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

Result

rgb(243 244 246) → #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. base 10 → base 16

    R = 243 = 15×16 + 3 → F3
    G = 244 = 15×16 + 4 → F4
    B = 246 = 15×16 + 6 → F6
  2. 2. pairs → HEX

    F3 F4 F6 → #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?