HSL(172, 57%, 27%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,57%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 57%, 27%) | color: hsl(172, 57%, 27%) | |
| HEX | #1E6C62 | color: #1E6C62 | |
| RGB | rgb(30, 108, 98) | color: rgb(30, 108, 98) | |
| CMYK | cmyk(72%, 0%, 9%, 58%) | — | |
| HSV | hsv(172, 72%, 42%) | — | |
| HWB | hwb(172 12% 58%) | color: hwb(172 12% 58%) | |
| OKLCH | oklch(0.4822 0.0755 182.79) | color: oklch(0.4822 0.0755 182.79) | |
| Lab | lab(41.03 -25.76 -1.21) | color: lab(41.03 -25.76 -1.21) | |
| LCH | lch(41.03 25.79 182.69) | color: lch(41.03 25.79 182.69) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#404064 — rgb(64, 64, 100)
Deuteranopia (Green-blind)
#3B3565 — rgb(59, 53, 101)
Tritanopia (Blue-blind)
#226667 — rgb(34, 102, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 57%, 27%);
text
color: hsl(172, 57%, 27%);
border
border: 2px solid hsl(172, 57%, 27%);
gradient light
background: linear-gradient(to right, hsl(172, 57%, 47%), hsl(172, 57%, 27%));
gradient dark
background: linear-gradient(to right, hsl(172, 57%, 27%), hsl(172, 57%, 7%))
hex
background-color: #1E6C62;
tailwind
bg-[hsl(172,57%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 57%, 27%, 0.4);
css variable
--color-primary: hsl(172, 57%, 27%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 57%, 27%)?
HEX: #1E6C62 | RGB: rgb(30, 108, 98) | CMYK: 72%, 0%, 9%, 58% | HSV: 172°, 72%, 42%. Copy any format from the conversion table above.
What colors go well with #1E6C62?
The complementary color is HSL(352, 57%, 27%). 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, 57%, 27%) in CSS?
As HSL: color: hsl(172, 57%, 27%); — As HEX: color: #1E6C62; — As RGB: color: rgb(30, 108, 98); — Tailwind CSS: bg-[hsl(172,57%,27%)] — CSS variable: --color-primary: hsl(172, 57%, 27%);