HSL to HEX: #ADD8E6
Also known as: CSS lightblue
Result
hsl(194.74 53.27% 79.02%) → #ADD8E6
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. input
H = 194.74°, S = 53.27%, L = 79.02%
2. C
C = (1 − |2L − 1|) × S = 0.22352
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.16861 (H / 60° = 3.2457, sector 3)
4. m
m = L − C / 2 = 0.67844
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.16861, 0.22352) R = round((0.00000 + 0.67844) × 255) = 173 G = round((0.16861 + 0.67844) × 255) = 216 B = round((0.22352 + 0.67844) × 255) = 230
6. RGB → HEX
#ADD8E6
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).
- powderblue#B0E0E6
- slate-300#CAD5E2
- v3 slate-300#CBD5E1
- v3 blue-200#BFDBFE
- blue-200#BEDBFF
- gray-300#D1D5DC
- mist-300#D0D6D8
- v3 gray-300#D1D5DB
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
Guides: What is OKLCH?