HEX in OKLCH: #E2E8F0

Auch bekannt als: Tailwind slate-200, Tailwind v3 slate-200

Ergebnis

#E2E8F0 → oklch(0.929 0.013 255.5)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #e2e8f0. Die gerundete Form fügst du üblicherweise in CSS ein.

Rechenweg Schritt für Schritt

Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.

  1. 1. sRGB → linear

    R: 226/255 = 0.88627 → 0.760525  (((x + 0.055) / 1.055)^2.4)
    G: 232/255 = 0.90980 → 0.806952  (((x + 0.055) / 1.055)^2.4)
    B: 240/255 = 0.94118 → 0.871367  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.791128
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.804032
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.843433
  3. 3. cube root

    l′ = ∛0.791128 = 0.924873
    m′ = ∛0.804032 = 0.929875
    s′ = ∛0.843433 = 0.944822
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.92876
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.00316
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.01222
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.01262
    H = atan2(b, a) = 255.508°
    L = 0.92876
  6. 6. OKLCH

    oklch(0.92876 0.01262 255.508)
    rounded: oklch(0.929 0.013 255.5)

Alle Formate

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 und Display P3

#E2E8F0 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.035, Display P3 von 0.038; diese Farbe nutzt 36 % der verfügbaren sRGB-Chroma.

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); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

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

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →