HEX in HSL: #0369A1
Auch bekannt als: Tailwind v3 sky-700
Ergebnis
#0369A1 → hsl(201 96% 32%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #0369a1. 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.0118 G = 0.4118 B = 0.6314
2. max, min, Δ
max = 0.6314 min = 0.0118 Δ = max − min = 0.6196
3. L
L = (max + min) / 2 = 0.3216 = 32.16%
4. S
S = Δ / (1 − |2L − 1|) = 0.9634 = 96.34%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0118 − 0.4118) / 0.6196 + 4) = 201.27°
6. HSL
hsl(201.27 96.34% 32.16%)
Alle Formate
- HEX
- #0369a1
- RGB
- rgb(3 105 161)
- RGB (legacy)
- rgb(3, 105, 161)
- HSL
- hsl(201.27 96.34% 32.16%) → hsl(201 96% 32%)
- HWB
- hwb(201 1% 37%)
- OKLCH
- oklch(0.500 0.119 242.7) · oklch(50.0% 0.119 242.7)
- OKLab
- oklab(0.500 -0.055 -0.106)
- Lab (D50)
- lab(41.70 -9.35 -38.03)
- LCH (D50)
- lch(41.70 39.17 256.19)
- Display P3
- color(display-p3 0.1749 0.4053 0.6137)
- Linear sRGB
- color(srgb-linear 0.0009 0.1413 0.3564)
Gamut: sRGB und Display P3
#0369A1 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.120, Display P3 von 0.157; diese Farbe nutzt 99 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #0369a1;
color: rgb(3 105 161);
color: hsl(201 96% 32%);
color: oklch(0.500 0.119 242.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.500 0.119 242.7);
}
/* arbitrary values */
class="text-[#0369a1] bg-[oklch(0.500_0.119_242.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1749 0.4053 0.6137); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0369a1 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- sky-700#0069A8
- cyan-700#007595
- v3 cyan-700#0E7490
- sky-800#00598A
- v3 sky-800#075985
- cyan-800#005F78
- v3 cyan-800#155E75
- v3 sky-600#0284C7
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #247BB4 · oklch(0.560 0.119 242.7) · ΔL +0.06
- #00578E · oklch(0.440 0.119 242.7) · ΔL −0.06