OKLCH in HEX: #1447E6

Noto anche come: Tailwind blue-700

Risultato

oklch(0.48778 0.24322 264.405) → #1447E6

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #1447e6. La forma arrotondata è quella che di solito incolli nel CSS.

Calcolo passo passo

Ogni numero è calcolato dall’input, nulla viene cercato in tabelle.

  1. 1. input

    oklch(0.48778 0.24322 264.405)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.02371
    b = C·sin H = -0.24206
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.426144
    m′ = L − 0.1056·a − 0.0639·b = 0.505740
    s′ = L − 0.0895·a − 1.2915·b = 0.802521
  4. 4. cube

    l = 0.426144³ = 0.077387
    m = 0.505740³ = 0.129354
    s = 0.802521³ = 0.516855
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.006998
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.063010
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.791274
  6. 6. linear → sRGB, × 255

    R = 0.07845 × 255 = 20.01 → 20
    G = 0.27843 × 255 = 71.00 → 71
    B = 0.90195 × 255 = 230.00 → 230
  7. 7. RGB → HEX

    #1447E6

Tutti i formati

HEX
#1447e6
RGB
rgb(20 71 230)
RGB (legacy)
rgb(20, 71, 230)
HSL
hsl(225.43 84.00% 49.02%) → hsl(225 84% 49%)
HWB
hwb(225 8% 10%)
OKLCH
oklch(0.488 0.243 264.4) · oklch(48.8% 0.243 264.4)
OKLab
oklab(0.488 -0.024 -0.242)
Lab (D50)
lab(36.87 35.22 -85.77)
LCH (D50)
lch(36.87 92.72 292.33)
Display P3
color(display-p3 0.1379 0.2743 0.8678)
Linear sRGB
color(srgb-linear 0.0070 0.0630 0.7913)

Gamut: sRGB e Display P3

#1447E6 è un colore esadecimale, quindi sta dentro sRGB e di conseguenza dentro Display P3. A questa luminosità e tonalità sRGB arriva a una croma di 0.289 e Display P3 a 0.308; questo colore usa il 84% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #1447e6;
  color: rgb(20 71 230);
  color: hsl(225 84% 49%);
  color: oklch(0.488 0.243 264.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.488 0.243 264.4);
}
/* arbitrary values */
class="text-[#1447e6] bg-[oklch(0.488_0.243_264.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1379 0.2743 0.8678); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #1447e6 calc(l - 0.1) c h); }

Colori vicini

I colori più vicini nelle palette Tailwind e CSS (distanza OKLab).

Più chiaro e più scuro, stessa tonalità e croma

  • #245CFB · oklch(0.548 0.243 264.4) · ΔL +0.06
  • #0630D1 · oklch(0.428 0.243 264.4) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →