HEX to RGB: #4682B4
Also known as: CSS steelblue
Result
#4682B4 → rgb(70 130 180)
Values are shown at full precision, so converting back gives exactly #4682b4. 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
#4682B4 → 46 | 82 | B4
2. base 16 → base 10
R = 46₁₆ = 4×16 + 6 = 70 G = 82₁₆ = 8×16 + 2 = 130 B = B4₁₆ = 11×16 + 4 = 180
3. RGB
rgb(70 130 180)
All formats
- HEX
- #4682b4
- RGB
- rgb(70 130 180)
- RGB (legacy)
- rgb(70, 130, 180)
- HSL
- hsl(207.27 44.00% 49.02%) → hsl(207 44% 49%)
- HWB
- hwb(207 27% 29%)
- OKLCH
- oklch(0.588 0.099 245.7) · oklch(58.8% 0.099 245.7)
- OKLab
- oklab(0.588 -0.041 -0.091)
- Lab (D50)
- lab(51.99 -8.36 -32.83)
- LCH (D50)
- lch(51.99 33.88 255.71)
- Display P3
- color(display-p3 0.3318 0.5041 0.6892)
- Linear sRGB
- color(srgb-linear 0.0612 0.2232 0.4564)
Gamut: sRGB and Display P3
#4682B4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.150 and Display P3 reaches 0.195; this color uses 66% of the sRGB chroma available.
CSS snippets
.element {
color: #4682b4;
color: rgb(70 130 180);
color: hsl(207 44% 49%);
color: oklch(0.588 0.099 245.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.588 0.099 245.7);
}
/* arbitrary values */
class="text-[#4682b4] bg-[oklch(0.588_0.099_245.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3318 0.5041 0.6892); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #4682b4 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 sky-600#0284C7
- cyan-600#0092B8
- v3 cyan-600#0891B2
- sky-600#0084D1
- slate-500#62748E
- slategray#708090
- v3 slate-500#64748B
- cyan-700#007595
Lighter and darker, same hue and chroma
- #5894C7 · oklch(0.648 0.099 245.7) · ΔL +0.06
- #3470A1 · oklch(0.528 0.099 245.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?