HEX to RGB: #A5F3FC

Also known as: Tailwind v3 cyan-200

Result

#A5F3FC → rgb(165 243 252)

Values are shown at full precision, so converting back gives exactly #a5f3fc. 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

    #A5F3FC → A5 | F3 | FC
  2. 2. base 16 → base 10

    R = A5₁₆ = 10×16 + 5 = 165
    G = F3₁₆ = 15×16 + 3 = 243
    B = FC₁₆ = 15×16 + 12 = 252
  3. 3. RGB

    rgb(165 243 252)

All formats

HEX
#a5f3fc
RGB
rgb(165 243 252)
RGB (legacy)
rgb(165, 243, 252)
HSL
hsl(186.21 93.55% 81.76%) → hsl(186 94% 82%)
HWB
hwb(186 65% 1%)
OKLCH
oklch(0.917 0.077 205.0) · oklch(91.7% 0.077 205.0)
OKLab
oklab(0.917 -0.070 -0.033)
Lab (D50)
lab(91.02 -23.21 -12.39)
LCH (D50)
lch(91.02 26.31 208.09)
Display P3
color(display-p3 0.7143 0.9448 0.9812)
Linear sRGB
color(srgb-linear 0.3763 0.8963 0.9734)

Gamut: sRGB and Display P3

#A5F3FC 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 89% of the sRGB chroma available.

CSS snippets

.element {
  color: #a5f3fc;
  color: rgb(165 243 252);
  color: hsl(186 94% 82%);
  color: oklch(0.917 0.077 205.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.917 0.077 205.0);
}
/* arbitrary values */
class="text-[#a5f3fc] bg-[oklch(0.917_0.077_205.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7143 0.9448 0.9812); }
}

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

  • #B9FFFF · oklch(0.977 0.077 205.0) · ΔL +0.06
  • #92DFE8 · oklch(0.857 0.077 205.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?