HEX to HSL: #0069A8
Also known as: Tailwind sky-700
Result
#0069A8 → hsl(203 100% 33%)
Values are shown at full precision, so converting back gives exactly #0069a8. 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. RGB ÷ 255
R = 0.0000 G = 0.4118 B = 0.6588
2. max, min, Δ
max = 0.6588 min = 0.0000 Δ = max − min = 0.6588
3. L
L = (max + min) / 2 = 0.3294 = 32.94%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.0000 − 0.4118) / 0.6588 + 4) = 202.50°
6. HSL
hsl(202.50 100.00% 32.94%)
All formats
- HEX
- #0069a8
- RGB
- rgb(0 105 168)
- RGB (legacy)
- rgb(0, 105, 168)
- HSL
- hsl(202.50 100.00% 32.94%) → hsl(203 100% 33%)
- HWB
- hwb(203 0% 34%)
- OKLCH
- oklch(0.504 0.128 245.5) · oklch(50.4% 0.128 245.5)
- OKLab
- oklab(0.504 -0.053 -0.117)
- Lab (D50)
- lab(42.00 -7.19 -41.68)
- LCH (D50)
- lch(42.00 42.30 260.21)
- Display P3
- color(display-p3 0.1721 0.4052 0.6396)
- Linear sRGB
- color(srgb-linear 0.0000 0.1413 0.3916)
Gamut: sRGB and Display P3
#0069A8 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.128 and Display P3 reaches 0.166; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #0069a8;
color: rgb(0 105 168);
color: hsl(203 100% 33%);
color: oklch(0.504 0.128 245.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.504 0.128 245.5);
}
/* arbitrary values */
class="text-[#0069a8] bg-[oklch(0.504_0.128_245.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1721 0.4052 0.6396); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0069a8 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 sky-700#0369A1
- cyan-700#007595
- v3 cyan-700#0E7490
- sky-800#00598A
- v3 sky-800#075985
- cyan-800#005F78
- v3 cyan-800#155E75
- v3 sky-600#0284C7
Lighter and darker, same hue and chroma
- #227BBB · oklch(0.564 0.128 245.5) · ΔL +0.06
- #005795 · oklch(0.444 0.128 245.5) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?