HEX to RGB: #053345
Also known as: Tailwind cyan-950
Result
#053345 → rgb(5 51 69)
Values are shown at full precision, so converting back gives exactly #053345. 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. HEX → pairs
#053345 → 05 | 33 | 45
2. base 16 → base 10
R = 05₁₆ = 0×16 + 5 = 5 G = 33₁₆ = 3×16 + 3 = 51 B = 45₁₆ = 4×16 + 5 = 69
3. RGB
rgb(5 51 69)
All formats
- HEX
- #053345
- RGB
- rgb(5 51 69)
- RGB (legacy)
- rgb(5, 51, 69)
- HSL
- hsl(196.88 86.49% 14.51%) → hsl(197 86% 15%)
- HWB
- hwb(197 2% 73%)
- OKLCH
- oklch(0.302 0.056 230.2) · oklch(30.2% 0.056 230.2)
- OKLab
- oklab(0.302 -0.036 -0.043)
- Lab (D50)
- lab(19.09 -9.59 -15.76)
- LCH (D50)
- lch(19.09 18.45 238.67)
- Display P3
- color(display-p3 0.0795 0.1966 0.2639)
- Linear sRGB
- color(srgb-linear 0.0015 0.0331 0.0595)
Gamut: sRGB and Display P3
#053345 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.079; this color uses 94% of the sRGB chroma available.
CSS snippets
.element {
color: #053345;
color: rgb(5 51 69);
color: hsl(197 86% 15%);
color: oklch(0.302 0.056 230.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.302 0.056 230.2);
}
/* arbitrary values */
class="text-[#053345] bg-[oklch(0.302_0.056_230.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.0795 0.1966 0.2639); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #053345 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 cyan-950#083344
- v3 sky-950#082F49
- sky-950#052F4A
- slate-800#1D293D
- v3 slate-800#1E293B
- gray-800#1E2939
- v3 gray-800#1F2937
- v3 teal-950#042F2E
Lighter and darker, same hue and chroma
- #184356 · oklch(0.362 0.056 230.2) · ΔL +0.06
- #002435 · oklch(0.242 0.056 230.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?