HSL(172, 20%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,20%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 20%, 37%) | color: hsl(172, 20%, 37%) | |
| HEX | #4B716C | color: #4B716C | |
| RGB | rgb(75, 113, 108) | color: rgb(75, 113, 108) | |
| CMYK | cmyk(34%, 0%, 4%, 56%) | — | |
| HSV | hsv(172, 34%, 44%) | — | |
| HWB | hwb(172 29% 56%) | color: hwb(172 29% 56%) | |
| OKLCH | oklch(0.5186 0.0438 185.62) | color: oklch(0.5186 0.0438 185.62) | |
| Lab | lab(44.78 -14.61 -1.51) | color: lab(44.78 -14.61 -1.51) | |
| LCH | lch(44.78 14.69 185.9) | color: lch(44.78 14.69 185.9) |
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)
#5B5C6D — rgb(91, 92, 109)
Deuteranopia (Green-blind)
#59566E — rgb(89, 86, 110)
Tritanopia (Blue-blind)
#4D6E6E — rgb(77, 110, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 20%, 37%);
text
color: hsl(172, 20%, 37%);
border
border: 2px solid hsl(172, 20%, 37%);
gradient light
background: linear-gradient(to right, hsl(172, 20%, 57%), hsl(172, 20%, 37%));
gradient dark
background: linear-gradient(to right, hsl(172, 20%, 37%), hsl(172, 20%, 17%))
hex
background-color: #4B716C;
tailwind
bg-[hsl(172,20%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 20%, 37%, 0.4);
css variable
--color-primary: hsl(172, 20%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 20%, 37%)?
HEX: #4B716C | RGB: rgb(75, 113, 108) | CMYK: 34%, 0%, 4%, 56% | HSV: 172°, 34%, 44%. Copy any format from the conversion table above.
What colors go well with #4B716C?
The complementary color is HSL(352, 20%, 37%). 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, 20%, 37%) in CSS?
As HSL: color: hsl(172, 20%, 37%); — As HEX: color: #4B716C; — As RGB: color: rgb(75, 113, 108); — Tailwind CSS: bg-[hsl(172,20%,37%)] — CSS variable: --color-primary: hsl(172, 20%, 37%);