OKLCH to HEX: #0369A1
Also known as: Tailwind v3 sky-700
Result
oklch(0.49998 0.11929 242.749) → #0369A1
Values are shown at full precision, so converting back gives exactly #0369a1. 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
oklch(0.49998 0.11929 242.749)
2. OKLCH → Oklab
a = C·cos H = -0.05462 b = C·sin H = -0.10605
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.455445 m′ = L − 0.1056·a − 0.0639·b = 0.512518 s′ = L − 0.0895·a − 1.2915·b = 0.641830
4. cube
l = 0.455445³ = 0.094473 m = 0.512518³ = 0.134625 s = 0.641830³ = 0.264399
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.000910 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.141261 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.356397
6. linear → sRGB, × 255
R = 0.01176 × 255 = 3.00 → 3 G = 0.41176 × 255 = 105.00 → 105 B = 0.63137 × 255 = 161.00 → 161
7. RGB → HEX
#0369A1
All formats
- HEX
- #0369a1
- RGB
- rgb(3 105 161)
- RGB (legacy)
- rgb(3, 105, 161)
- HSL
- hsl(201.27 96.34% 32.16%) → hsl(201 96% 32%)
- HWB
- hwb(201 1% 37%)
- OKLCH
- oklch(0.500 0.119 242.7) · oklch(50.0% 0.119 242.7)
- OKLab
- oklab(0.500 -0.055 -0.106)
- Lab (D50)
- lab(41.70 -9.35 -38.03)
- LCH (D50)
- lch(41.70 39.17 256.19)
- Display P3
- color(display-p3 0.1749 0.4053 0.6137)
- Linear sRGB
- color(srgb-linear 0.0009 0.1413 0.3564)
Gamut: sRGB and Display P3
#0369A1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.120 and Display P3 reaches 0.157; this color uses 99% of the sRGB chroma available.
CSS snippets
.element {
color: #0369a1;
color: rgb(3 105 161);
color: hsl(201 96% 32%);
color: oklch(0.500 0.119 242.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.500 0.119 242.7);
}
/* arbitrary values */
class="text-[#0369a1] bg-[oklch(0.500_0.119_242.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1749 0.4053 0.6137); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0369a1 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- sky-700#0069A8
- 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
- #247BB4 · oklch(0.560 0.119 242.7) · ΔL +0.06
- #00578E · oklch(0.440 0.119 242.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?