HSL to HEX: #E2E8F0

Also known as: Tailwind slate-200, Tailwind v3 slate-200

Result

hsl(214.29 31.82% 91.37%) → #E2E8F0

Values are shown at full precision, so converting back gives exactly #e2e8f0. 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 = 214.29°, S = 31.82%, L = 91.37%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.00000, 0.02353, 0.05492)
    R = round((0.00000 + 0.88624) × 255) = 226
    G = round((0.02353 + 0.88624) × 255) = 232
    B = round((0.05492 + 0.88624) × 255) = 240
  6. 6. RGB → HEX

    #E2E8F0

All formats

HEX
#e2e8f0
RGB
rgb(226 232 240)
RGB (legacy)
rgb(226, 232, 240)
HSL
hsl(214.29 31.82% 91.37%) → hsl(214 32% 91%)
HWB
hwb(214 89% 6%)
OKLCH
oklch(0.929 0.013 255.5) · oklch(92.9% 0.013 255.5)
OKLab
oklab(0.929 -0.003 -0.012)
Lab (D50)
lab(91.71 -0.97 -4.63)
LCH (D50)
lch(91.71 4.73 258.16)
Display P3
color(display-p3 0.8905 0.9090 0.9380)
Linear sRGB
color(srgb-linear 0.7605 0.8070 0.8714)

Gamut: sRGB and Display P3

#E2E8F0 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.035 and Display P3 reaches 0.038; this color uses 36% of the sRGB chroma available.

CSS snippets

.element {
  color: #e2e8f0;
  color: rgb(226 232 240);
  color: hsl(214 32% 91%);
  color: oklch(0.929 0.013 255.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.929 0.013 255.5);
}
/* arbitrary values */
class="text-[#e2e8f0] bg-[oklch(0.929_0.013_255.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8905 0.9090 0.9380); }
}

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

  • #F6FCFF · oklch(0.989 0.013 255.5) · ΔL +0.06
  • #CED4DC · oklch(0.869 0.013 255.5) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?