HSL(170, 20%, 29%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,20%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 20%, 29%) | color: hsl(170, 20%, 29%) | |
| HEX | #3B5954 | color: #3B5954 | |
| RGB | rgb(59, 89, 84) | color: rgb(59, 89, 84) | |
| CMYK | cmyk(34%, 0%, 6%, 65%) | — | |
| HSV | hsv(170, 34%, 35%) | — | |
| HWB | hwb(170 23% 65%) | color: hwb(170 23% 65%) | |
| OKLCH | oklch(0.4388 0.0365 183.06) | color: oklch(0.4388 0.0365 183.06) | |
| Lab | lab(35.43 -12.33 -0.66) | color: lab(35.43 -12.33 -0.66) | |
| LCH | lch(35.43 12.35 183.06) | color: lch(35.43 12.35 183.06) |
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)
#484855 — rgb(72, 72, 85)
Deuteranopia (Green-blind)
#464456 — rgb(70, 68, 86)
Tritanopia (Blue-blind)
#3D5656 — rgb(61, 86, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 20%, 29%);
text
color: hsl(170, 20%, 29%);
border
border: 2px solid hsl(170, 20%, 29%);
gradient light
background: linear-gradient(to right, hsl(170, 20%, 49%), hsl(170, 20%, 29%));
gradient dark
background: linear-gradient(to right, hsl(170, 20%, 29%), hsl(170, 20%, 9%))
hex
background-color: #3B5954;
tailwind
bg-[hsl(170,20%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 20%, 29%, 0.4);
css variable
--color-primary: hsl(170, 20%, 29%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 20%, 29%)?
HEX: #3B5954 | RGB: rgb(59, 89, 84) | CMYK: 34%, 0%, 6%, 65% | HSV: 170°, 34%, 35%. Copy any format from the conversion table above.
What colors go well with #3B5954?
The complementary color is HSL(350, 20%, 29%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 20%, 29%) in CSS?
As HSL: color: hsl(170, 20%, 29%); — As HEX: color: #3B5954; — As RGB: color: rgb(59, 89, 84); — Tailwind CSS: bg-[hsl(170,20%,29%)] — CSS variable: --color-primary: hsl(170, 20%, 29%);