OKLCH to HEX: #A2F4FD

Also known as: Tailwind cyan-200

Result

oklch(0.91762 0.08051 204.613) → #A2F4FD

Values are shown at full precision, so converting back gives exactly #a2f4fd. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. input

    oklch(0.91762 0.08051 204.613)
  2. 2. OKLCH → Oklab

    a = C·cos H = -0.07319
    b = C·sin H = -0.03353
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.881374
    m′ = L − 0.1056·a − 0.0639·b = 0.927488
    s′ = L − 0.0895·a − 1.2915·b = 0.967475
  4. 4. cube

    l = 0.881374³ = 0.684669
    m = 0.927488³ = 0.797856
    s = 0.967475³ = 0.905564
  5. 5. LMS → linear sRGB

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

    R = 0.63529 × 255 = 162.00 → 162
    G = 0.95686 × 255 = 244.00 → 244
    B = 0.99216 × 255 = 253.00 → 253
  7. 7. RGB → HEX

    #A2F4FD

All formats

HEX
#a2f4fd
RGB
rgb(162 244 253)
RGB (legacy)
rgb(162, 244, 253)
HSL
hsl(185.93 95.79% 81.37%) → hsl(186 96% 81%)
HWB
hwb(186 64% 1%)
OKLCH
oklch(0.918 0.081 204.6) · oklch(91.8% 0.081 204.6)
OKLab
oklab(0.918 -0.073 -0.034)
Lab (D50)
lab(91.17 -24.30 -12.71)
LCH (D50)
lch(91.17 27.42 207.61)
Display P3
color(display-p3 0.7068 0.9484 0.9849)
Linear sRGB
color(srgb-linear 0.3613 0.9047 0.9823)

Gamut: sRGB and Display P3

#A2F4FD is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.087 and Display P3 reaches 0.094; this color uses 93% of the sRGB chroma available.

CSS snippets

.element {
  color: #a2f4fd;
  color: rgb(162 244 253);
  color: hsl(186 96% 81%);
  color: oklch(0.918 0.081 204.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.918 0.081 204.6);
}
/* arbitrary values */
class="text-[#a2f4fd] bg-[oklch(0.918_0.081_204.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7068 0.9484 0.9849); }
}

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

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #B6FFFF · oklch(0.978 0.081 204.6) · ΔL +0.06
  • #8EE0E9 · oklch(0.858 0.081 204.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?