HEX in OKLCH: #475569

Auch bekannt als: Tailwind v3 slate-600

Ergebnis

#475569 → oklch(0.446 0.037 257.3)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #475569. 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: 71/255 = 0.27843 → 0.063010  (((x + 0.055) / 1.055)^2.4)
    G: 85/255 = 0.33333 → 0.090842  (((x + 0.055) / 1.055)^2.4)
    B: 105/255 = 0.41176 → 0.141263  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.081963
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.090359
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.120149
  3. 3. cube root

    l′ = ∛0.081963 = 0.434383
    m′ = ∛0.090359 = 0.448736
    s′ = ∛0.120149 = 0.493446
  4. 4. LMS′ → Oklab

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

    C = √(a² + b²) = 0.03745
    H = atan2(b, a) = 257.281°
    L = 0.44553
  6. 6. OKLCH

    oklch(0.44553 0.03745 257.281)
    rounded: oklch(0.446 0.037 257.3)

Alle Formate

HEX
#475569
RGB
rgb(71 85 105)
RGB (legacy)
rgb(71, 85, 105)
HSL
hsl(215.29 19.32% 34.51%) → hsl(215 19% 35%)
HWB
hwb(215 28% 59%)
OKLCH
oklch(0.446 0.037 257.3) · oklch(44.6% 0.037 257.3)
OKLab
oklab(0.446 -0.008 -0.037)
Lab (D50)
lab(35.54 -1.67 -13.49)
LCH (D50)
lch(35.54 13.59 262.92)
Display P3
color(display-p3 0.2891 0.3317 0.4048)
Linear sRGB
color(srgb-linear 0.0630 0.0908 0.1413)

Gamut: sRGB und Display P3

#475569 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.160, Display P3 von 0.203; diese Farbe nutzt 23 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #475569;
  color: rgb(71 85 105);
  color: hsl(215 19% 35%);
  color: oklch(0.446 0.037 257.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.446 0.037 257.3);
}
/* arbitrary values */
class="text-[#475569] bg-[oklch(0.446_0.037_257.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2891 0.3317 0.4048); }
}

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

  • #57667B · oklch(0.506 0.037 257.3) · ΔL +0.06
  • #374558 · oklch(0.386 0.037 257.3) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →