HEX to HSL: #ADD8E6

Also known as: CSS lightblue

Result

#ADD8E6 → hsl(195 53% 79%)

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

    R = 0.6784
    G = 0.8471
    B = 0.9020
  2. 2. max, min, Δ

    max = 0.9020
    min = 0.6784
    Δ = max − min = 0.2235
  3. 3. L

    L = (max + min) / 2 = 0.7902 = 79.02%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.5327 = 53.27%
  5. 5. H

    max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.6784 − 0.8471) / 0.2235 + 4) = 194.74°
  6. 6. HSL

    hsl(194.74 53.27% 79.02%)

All formats

HEX
#add8e6
RGB
rgb(173 216 230)
RGB (legacy)
rgb(173, 216, 230)
HSL
hsl(194.74 53.27% 79.02%) → hsl(195 53% 79%)
HWB
hwb(195 68% 10%)
OKLCH
oklch(0.856 0.049 219.7) · oklch(85.6% 0.049 219.7)
OKLab
oklab(0.856 -0.038 -0.031)
Lab (D50)
lab(83.61 -12.23 -11.78)
LCH (D50)
lch(83.61 16.98 223.94)
Display P3
color(display-p3 0.7122 0.8422 0.8949)
Linear sRGB
color(srgb-linear 0.4179 0.6867 0.7913)

Gamut: sRGB and Display P3

#ADD8E6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.105 and Display P3 reaches 0.114; this color uses 47% of the sRGB chroma available.

CSS snippets

.element {
  color: #add8e6;
  color: rgb(173 216 230);
  color: hsl(195 53% 79%);
  color: oklch(0.856 0.049 219.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.856 0.049 219.7);
}
/* arbitrary values */
class="text-[#add8e6] bg-[oklch(0.856_0.049_219.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7122 0.8422 0.8949); }
}

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

  • #C0ECFA · oklch(0.916 0.049 219.7) · ΔL +0.06
  • #9AC5D2 · oklch(0.796 0.049 219.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?