HSL in HEX: #083344

Auch bekannt als: Tailwind v3 cyan-950

Ergebnis

hsl(197.00 78.95% 14.90%) → #083344

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #083344. 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. input

    H = 197.00°, S = 78.95%, L = 14.90%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.23527
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.16861   (H / 60° = 3.2833, sector 3)
  4. 4. m

    m = L − C / 2 = 0.03136
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.16861, 0.23527)
    R = round((0.00000 + 0.03136) × 255) = 8
    G = round((0.16861 + 0.03136) × 255) = 51
    B = round((0.23527 + 0.03136) × 255) = 68
  6. 6. RGB → HEX

    #083344

Alle Formate

HEX
#083344
RGB
rgb(8 51 68)
RGB (legacy)
rgb(8, 51, 68)
HSL
hsl(197.00 78.95% 14.90%) → hsl(197 79% 15%)
HWB
hwb(197 3% 73%)
OKLCH
oklch(0.302 0.054 229.7) · oklch(30.2% 0.054 229.7)
OKLab
oklab(0.302 -0.035 -0.041)
Lab (D50)
lab(19.13 -9.44 -15.01)
LCH (D50)
lch(19.13 17.73 237.82)
Display P3
color(display-p3 0.0852 0.1967 0.2602)
Linear sRGB
color(srgb-linear 0.0024 0.0331 0.0578)

Gamut: sRGB und Display P3

#083344 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.060, Display P3 von 0.079; diese Farbe nutzt 90 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #083344;
  color: rgb(8 51 68);
  color: hsl(197 79% 15%);
  color: oklch(0.302 0.054 229.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.302 0.054 229.7);
}
/* arbitrary values */
class="text-[#083344] bg-[oklch(0.302_0.054_229.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.0852 0.1967 0.2602); }
}

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

  • #1B4354 · oklch(0.362 0.054 229.7) · ΔL +0.06
  • #002434 · oklch(0.242 0.054 229.7) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →