HSL(172, 93%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,93%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 93%, 28%) | color: hsl(172, 93%, 28%) | |
| HEX | #058A78 | color: #058A78 | |
| RGB | rgb(5, 138, 120) | color: rgb(5, 138, 120) | |
| CMYK | cmyk(96%, 0%, 13%, 46%) | — | |
| HSV | hsv(172, 96%, 54%) | — | |
| HWB | hwb(172 2% 46%) | color: hwb(172 2% 46%) | |
| OKLCH | oklch(0.5677 0.1027 179.18) | color: oklch(0.5677 0.1027 179.18) | |
| Lab | lab(51.34 -35.72 0.77) | color: lab(51.34 -35.72 0.77) | |
| LCH | lch(51.34 35.73 178.77) | color: lch(51.34 35.73 178.77) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#3F407C — rgb(63, 64, 124)
Deuteranopia (Green-blind)
#372D7D — rgb(55, 45, 125)
Tritanopia (Blue-blind)
#0C8081 — rgb(12, 128, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 93%, 28%);
text
color: hsl(172, 93%, 28%);
border
border: 2px solid hsl(172, 93%, 28%);
gradient light
background: linear-gradient(to right, hsl(172, 93%, 48%), hsl(172, 93%, 28%));
gradient dark
background: linear-gradient(to right, hsl(172, 93%, 28%), hsl(172, 93%, 8%))
hex
background-color: #058A78;
tailwind
bg-[hsl(172,93%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 93%, 28%, 0.4);
css variable
--color-primary: hsl(172, 93%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 93%, 28%)?
HEX: #058A78 | RGB: rgb(5, 138, 120) | CMYK: 96%, 0%, 13%, 46% | HSV: 172°, 96%, 54%. Copy any format from the conversion table above.
What colors go well with #058A78?
The complementary color is HSL(352, 93%, 28%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 93%, 28%) in CSS?
As HSL: color: hsl(172, 93%, 28%); — As HEX: color: #058A78; — As RGB: color: rgb(5, 138, 120); — Tailwind CSS: bg-[hsl(172,93%,28%)] — CSS variable: --color-primary: hsl(172, 93%, 28%);