RGB to HEX: #E3E7E8

Also known as: Tailwind mist-200

Result

rgb(227 231 232) → #E3E7E8

Values are shown at full precision, so converting back gives exactly #e3e7e8. 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 = 227 = 14×16 + 3 → E3
    G = 231 = 14×16 + 7 → E7
    B = 232 = 14×16 + 8 → E8
  2. 2. pairs → HEX

    E3 E7 E8 → #E3E7E8

All formats

HEX
#e3e7e8
RGB
rgb(227 231 232)
RGB (legacy)
rgb(227, 231, 232)
HSL
hsl(192.00 9.80% 90.00%) → hsl(192 10% 90%)
HWB
hwb(192 89% 9%)
OKLCH
oklch(0.925 0.005 214.3) · oklch(92.5% 0.005 214.3)
OKLab
oklab(0.925 -0.004 -0.003)
Lab (D50)
lab(91.36 -1.25 -0.98)
LCH (D50)
lch(91.36 1.59 218.08)
Display P3
color(display-p3 0.8930 0.9054 0.9092)
Linear sRGB
color(srgb-linear 0.7682 0.7991 0.8070)

Gamut: sRGB and Display P3

#E3E7E8 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.065; this color uses 8% of the sRGB chroma available.

CSS snippets

.element {
  color: #e3e7e8;
  color: rgb(227 231 232);
  color: hsl(192 10% 90%);
  color: oklch(0.925 0.005 214.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.925 0.005 214.3);
}
/* arbitrary values */
class="text-[#e3e7e8] bg-[oklch(0.925_0.005_214.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8930 0.9054 0.9092); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #e3e7e8 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

  • #F7FBFC · oklch(0.985 0.005 214.3) · ΔL +0.06
  • #CFD3D4 · oklch(0.865 0.005 214.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?