HEX to RGB: #A2F4FD

Also known as: Tailwind cyan-200

Result

#A2F4FD → rgb(162 244 253)

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. HEX → pairs

    #A2F4FD → A2 | F4 | FD
  2. 2. base 16 → base 10

    R = A2₁₆ = 10×16 + 2 = 162
    G = F4₁₆ = 15×16 + 4 = 244
    B = FD₁₆ = 15×16 + 13 = 253
  3. 3. RGB

    rgb(162 244 253)

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?