HSL(177, 20%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(177,20%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(177, 20%, 42%) | color: hsl(177, 20%, 42%) | |
| HEX | #56817E | color: #56817E | |
| RGB | rgb(86, 129, 126) | color: rgb(86, 129, 126) | |
| CMYK | cmyk(33%, 0%, 2%, 49%) | — | |
| HSV | hsv(176, 33%, 51%) | — | |
| HWB | hwb(176 34% 49%) | color: hwb(176 34% 49%) | |
| OKLCH | oklch(0.571 0.0477 190.39) | color: oklch(0.571 0.0477 190.39) | |
| Lab | lab(50.9 -15.48 -3.11) | color: lab(50.9 -15.48 -3.11) | |
| LCH | lch(50.9 15.79 191.36) | color: lch(50.9 15.79 191.36) |
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)
#69697F — rgb(105, 105, 127)
Deuteranopia (Green-blind)
#66637F — rgb(102, 99, 127)
Tritanopia (Blue-blind)
#587F7F — rgb(88, 127, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(177, 20%, 42%);
text
color: hsl(177, 20%, 42%);
border
border: 2px solid hsl(177, 20%, 42%);
gradient light
background: linear-gradient(to right, hsl(177, 20%, 62%), hsl(177, 20%, 42%));
gradient dark
background: linear-gradient(to right, hsl(177, 20%, 42%), hsl(177, 20%, 22%))
hex
background-color: #56817E;
tailwind
bg-[hsl(177,20%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(177, 20%, 42%, 0.4);
css variable
--color-primary: hsl(177, 20%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(177, 20%, 42%)?
HEX: #56817E | RGB: rgb(86, 129, 126) | CMYK: 33%, 0%, 2%, 49% | HSV: 176°, 33%, 51%. Copy any format from the conversion table above.
What colors go well with #56817E?
The complementary color is HSL(357, 20%, 42%). For a triadic harmony, use hues 177°, 297°, and 57°. For analogous combinations, try hues 147° and 207°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(177, 20%, 42%) in CSS?
As HSL: color: hsl(177, 20%, 42%); — As HEX: color: #56817E; — As RGB: color: rgb(86, 129, 126); — Tailwind CSS: bg-[hsl(177,20%,42%)] — CSS variable: --color-primary: hsl(177, 20%, 42%);