HEX in HSL: #082F49
Auch bekannt als: Tailwind v3 sky-950
Ergebnis
#082F49 → hsl(204 80% 16%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #082f49. 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. RGB ÷ 255
R = 0.0314 G = 0.1843 B = 0.2863
2. max, min, Δ
max = 0.2863 min = 0.0314 Δ = max − min = 0.2549
3. L
L = (max + min) / 2 = 0.1588 = 15.88%
4. S
S = Δ / (1 − |2L − 1|) = 0.8025 = 80.25%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0314 − 0.1843) / 0.2549 + 4) = 204.00°
6. HSL
hsl(204.00 80.25% 15.88%)
Alle Formate
- HEX
- #082f49
- RGB
- rgb(8 47 73)
- RGB (legacy)
- rgb(8, 47, 73)
- HSL
- hsl(204.00 80.25% 15.88%) → hsl(204 80% 16%)
- HWB
- hwb(204 3% 71%)
- OKLCH
- oklch(0.293 0.063 243.2) · oklch(29.3% 0.063 243.2)
- OKLab
- oklab(0.293 -0.029 -0.056)
- Lab (D50)
- lab(17.90 -5.30 -20.30)
- LCH (D50)
- lch(17.90 20.98 255.36)
- Display P3
- color(display-p3 0.0788 0.1813 0.2779)
- Linear sRGB
- color(srgb-linear 0.0024 0.0284 0.0666)
Gamut: sRGB und Display P3
#082F49 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.071, Display P3 von 0.093; diese Farbe nutzt 89 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #082f49;
color: rgb(8 47 73);
color: hsl(204 80% 16%);
color: oklch(0.293 0.063 243.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.293 0.063 243.2);
}
/* arbitrary values */
class="text-[#082f49] bg-[oklch(0.293_0.063_243.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0788 0.1813 0.2779); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #082f49 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- sky-950#052F4A
- cyan-950#053345
- v3 cyan-950#083344
- slate-800#1D293D
- v3 slate-800#1E293B
- gray-800#1E2939
- v3 gray-800#1F2937
- v3 blue-950#172554
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #1A3F5A · oklch(0.353 0.063 243.2) · ΔL +0.06
- #002039 · oklch(0.233 0.063 243.2) · ΔL −0.06