HSL in HEX: #0E7490
Auch bekannt als: Tailwind v3 cyan-700
Ergebnis
hsl(192.92 82.28% 30.98%) → #0E7490
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #0e7490. 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. input
H = 192.92°, S = 82.28%, L = 30.98%
2. C
C = (1 − |2L − 1|) × S = 0.50981
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.40003 (H / 60° = 3.2153, sector 3)
4. m
m = L − C / 2 = 0.05490
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.40003, 0.50981) R = round((0.00000 + 0.05490) × 255) = 14 G = round((0.40003 + 0.05490) × 255) = 116 B = round((0.50981 + 0.05490) × 255) = 144
6. RGB → HEX
#0E7490
Alle Formate
- HEX
- #0e7490
- RGB
- rgb(14 116 144)
- RGB (legacy)
- rgb(14, 116, 144)
- HSL
- hsl(192.92 82.28% 30.98%) → hsl(193 82% 31%)
- HWB
- hwb(193 5% 44%)
- OKLCH
- oklch(0.520 0.094 223.1) · oklch(52.0% 0.094 223.1)
- OKLab
- oklab(0.520 -0.068 -0.064)
- Lab (D50)
- lab(44.67 -19.70 -23.37)
- LCH (D50)
- lch(44.67 30.57 229.87)
- Display P3
- color(display-p3 0.2048 0.4480 0.5532)
- Linear sRGB
- color(srgb-linear 0.0044 0.1746 0.2789)
Gamut: sRGB und Display P3
#0E7490 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.097, Display P3 von 0.128; diese Farbe nutzt 97 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #0e7490;
color: rgb(14 116 144);
color: hsl(193 82% 31%);
color: oklch(0.520 0.094 223.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.520 0.094 223.1);
}
/* arbitrary values */
class="text-[#0e7490] bg-[oklch(0.520_0.094_223.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2048 0.4480 0.5532); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0e7490 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- cyan-700#007595
- v3 sky-700#0369A1
- teal#008080
- sky-700#0069A8
- v3 teal-700#0F766E
- teal-700#00786F
- cyan-800#005F78
- slate-500#62748E
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2B86A3 · oklch(0.580 0.094 223.1) · ΔL +0.06
- #00627E · oklch(0.460 0.094 223.1) · ΔL −0.06