HSL to HEX: #104E64
Also known as: Tailwind cyan-900
Result
hsl(195.71 72.41% 22.75%) → #104E64
Values are shown at full precision, so converting back gives exactly #104e64. 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 = 195.71°, S = 72.41%, L = 22.75%
2. C
C = (1 − |2L − 1|) × S = 0.32947
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.24320 (H / 60° = 3.2618, sector 3)
4. m
m = L − C / 2 = 0.06277
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.24320, 0.32947) R = round((0.00000 + 0.06277) × 255) = 16 G = round((0.24320 + 0.06277) × 255) = 78 B = round((0.32947 + 0.06277) × 255) = 100
6. RGB → HEX
#104E64
All formats
- HEX
- #104e64
- RGB
- rgb(16 78 100)
- RGB (legacy)
- rgb(16, 78, 100)
- HSL
- hsl(195.71 72.41% 22.75%) → hsl(196 72% 23%)
- HWB
- hwb(196 6% 61%)
- OKLCH
- oklch(0.397 0.070 227.2) · oklch(39.7% 0.070 227.2)
- OKLab
- oklab(0.397 -0.047 -0.051)
- Lab (D50)
- lab(30.28 -13.23 -18.68)
- LCH (D50)
- lch(30.28 22.89 234.69)
- Display P3
- color(display-p3 0.1418 0.3012 0.3836)
- Linear sRGB
- color(srgb-linear 0.0052 0.0762 0.1274)
Gamut: sRGB and Display P3
#104E64 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.077 and Display P3 reaches 0.101; this color uses 91% of the sRGB chroma available.
CSS snippets
.element {
color: #104e64;
color: rgb(16 78 100);
color: hsl(196 72% 23%);
color: oklch(0.397 0.070 227.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.397 0.070 227.2);
}
/* arbitrary values */
class="text-[#104e64] bg-[oklch(0.397_0.070_227.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1418 0.3012 0.3836); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #104e64 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 cyan-900#164E63
- v3 sky-900#0C4A6E
- sky-900#024A70
- darkslategray#2F4F4F
- v3 teal-900#134E4A
- slate-700#314158
- teal-900#0B4F4A
- v3 slate-700#334155
Lighter and darker, same hue and chroma
- #255F75 · oklch(0.457 0.070 227.2) · ΔL +0.06
- #003E53 · oklch(0.337 0.070 227.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?