HEX in RGB: #1E1B4B
Auch bekannt als: Tailwind v3 indigo-950
Ergebnis
#1E1B4B → rgb(30 27 75)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #1e1b4b. 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. HEX → pairs
#1E1B4B → 1E | 1B | 4B
2. base 16 → base 10
R = 1E₁₆ = 1×16 + 14 = 30 G = 1B₁₆ = 1×16 + 11 = 27 B = 4B₁₆ = 4×16 + 11 = 75
3. RGB
rgb(30 27 75)
Alle Formate
- HEX
- #1e1b4b
- RGB
- rgb(30 27 75)
- RGB (legacy)
- rgb(30, 27, 75)
- HSL
- hsl(243.75 47.06% 20.00%) → hsl(244 47% 20%)
- HWB
- hwb(244 11% 71%)
- OKLCH
- oklch(0.257 0.086 281.3) · oklch(25.7% 0.086 281.3)
- OKLab
- oklab(0.257 0.017 -0.084)
- Lab (D50)
- lab(12.62 13.92 -29.99)
- LCH (D50)
- lch(12.62 33.07 294.90)
- Display P3
- color(display-p3 0.1156 0.1063 0.2830)
- Linear sRGB
- color(srgb-linear 0.0130 0.0110 0.0704)
Gamut: sRGB und Display P3
#1E1B4B 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.154, Display P3 von 0.157; diese Farbe nutzt 56 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #1e1b4b;
color: rgb(30 27 75);
color: hsl(244 47% 20%);
color: oklch(0.257 0.086 281.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.257 0.086 281.3);
}
/* arbitrary values */
class="text-[#1e1b4b] bg-[oklch(0.257_0.086_281.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1156 0.1063 0.2830); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #1e1b4b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- indigo-950#1E1A4D
- blue-950#162456
- v3 blue-950#172554
- slate-800#1D293D
- v3 slate-800#1E293B
- v3 violet-950#2E1065
- gray-800#1E2939
- v3 gray-800#1F2937
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2C2B5C · oklch(0.317 0.086 281.3) · ΔL +0.06
- #120B3A · oklch(0.197 0.086 281.3) · ΔL −0.06