HEX to RGB: #0891B2
Also known as: Tailwind v3 cyan-600
Result
#0891B2 → rgb(8 145 178)
Values are shown at full precision, so converting back gives exactly #0891b2. 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
#0891B2 → 08 | 91 | B2
2. base 16 → base 10
R = 08₁₆ = 0×16 + 8 = 8 G = 91₁₆ = 9×16 + 1 = 145 B = B2₁₆ = 11×16 + 2 = 178
3. RGB
rgb(8 145 178)
All formats
- HEX
- #0891b2
- RGB
- rgb(8 145 178)
- RGB (legacy)
- rgb(8, 145, 178)
- HSL
- hsl(191.65 91.40% 36.47%) → hsl(192 91% 36%)
- HWB
- hwb(192 3% 30%)
- OKLCH
- oklch(0.609 0.111 221.7) · oklch(60.9% 0.111 221.7)
- OKLab
- oklab(0.609 -0.083 -0.074)
- Lab (D50)
- lab(55.13 -24.13 -26.99)
- LCH (D50)
- lch(55.13 36.21 228.20)
- Display P3
- color(display-p3 0.2534 0.5600 0.6843)
- Linear sRGB
- color(srgb-linear 0.0024 0.2831 0.4452)
Gamut: sRGB and Display P3
#0891B2 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.112 and Display P3 reaches 0.149; this color uses 99% of the sRGB chroma available.
CSS snippets
.element {
color: #0891b2;
color: rgb(8 145 178);
color: hsl(192 91% 36%);
color: oklch(0.609 0.111 221.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.609 0.111 221.7);
}
/* arbitrary values */
class="text-[#0891b2] bg-[oklch(0.609_0.111_221.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2534 0.5600 0.6843); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0891b2 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- cyan-600#0092B8
- steelblue#4682B4
- v3 sky-600#0284C7
- darkcyan#008B8B
- sky-600#0084D1
- v3 teal-600#0D9488
- teal-600#009689
- cadetblue#5F9EA0
Lighter and darker, same hue and chroma
- #2EA4C5 · oklch(0.669 0.111 221.7) · ΔL +0.06
- #007F9F · oklch(0.549 0.111 221.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?