OKLCH in HEX: #0092B8

Noto anche come: Tailwind cyan-600

Risultato

oklch(0.61364 0.11589 224.635) → #0092B8

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #0092b8. 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.61364 0.11589 224.635)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.08247
    b = C·sin H = -0.08142
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.563384
    m′ = L − 0.1056·a − 0.0639·b = 0.627545
    s′ = L − 0.0895·a − 1.2915·b = 0.726176
  4. 4. cube

    l = 0.563384³ = 0.178819
    m = 0.627545³ = 0.247135
    s = 0.726176³ = 0.382936
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = -0.000005
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.287438
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.479317
  6. 6. linear → sRGB, × 255

    R = 0.00000 × 255 = 0.00 → 0
    G = 0.57255 × 255 = 146.00 → 146
    B = 0.72157 × 255 = 184.00 → 184
  7. 7. RGB → HEX

    #0092B8

Tutti i formati

HEX
#0092b8
RGB
rgb(0 146 184)
RGB (legacy)
rgb(0, 146, 184)
HSL
hsl(192.39 100.00% 36.08%) → hsl(192 100% 36%)
HWB
hwb(192 0% 28%)
OKLCH
oklch(0.614 0.116 224.6) · oklch(61.4% 0.116 224.6)
OKLab
oklab(0.614 -0.082 -0.081)
Lab (D50)
lab(55.60 -23.23 -29.67)
LCH (D50)
lch(55.60 37.68 231.94)
Display P3
color(display-p3 0.2504 0.5638 0.7065)
Linear sRGB
color(srgb-linear 0.0000 0.2874 0.4793)

Gamut: sRGB e Display P3

#0092B8 è 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.116 e Display P3 a 0.153; questo colore usa il 100% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #0092b8;
  color: rgb(0 146 184);
  color: hsl(192 100% 36%);
  color: oklch(0.614 0.116 224.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.614 0.116 224.6);
}
/* arbitrary values */
class="text-[#0092b8] bg-[oklch(0.614_0.116_224.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2504 0.5638 0.7065); }
}

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

  • #2CA5CB · oklch(0.674 0.116 224.6) · ΔL +0.06
  • #0080A5 · oklch(0.554 0.116 224.6) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →