HSL(170, 40%, 29%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,40%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 40%, 29%) | color: hsl(170, 40%, 29%) | |
| HEX | #2C685E | color: #2C685E | |
| RGB | rgb(44, 104, 94) | color: rgb(44, 104, 94) | |
| CMYK | cmyk(58%, 0%, 10%, 59%) | — | |
| HSV | hsv(170, 58%, 41%) | — | |
| HWB | hwb(170 17% 59%) | color: hwb(170 17% 59%) | |
| OKLCH | oklch(0.4746 0.0645 180.91) | color: oklch(0.4746 0.0645 180.91) | |
| Lab | lab(39.99 -22.13 -0.24) | color: lab(39.99 -22.13 -0.24) | |
| LCH | lch(39.99 22.13 180.62) | color: lch(39.99 22.13 180.62) |
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)
#464760 — rgb(70, 71, 96)
Deuteranopia (Green-blind)
#433E61 — rgb(67, 62, 97)
Tritanopia (Blue-blind)
#2F6263 — rgb(47, 98, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 40%, 29%);
text
color: hsl(170, 40%, 29%);
border
border: 2px solid hsl(170, 40%, 29%);
gradient light
background: linear-gradient(to right, hsl(170, 40%, 49%), hsl(170, 40%, 29%));
gradient dark
background: linear-gradient(to right, hsl(170, 40%, 29%), hsl(170, 40%, 9%))
hex
background-color: #2C685E;
tailwind
bg-[hsl(170,40%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 40%, 29%, 0.4);
css variable
--color-primary: hsl(170, 40%, 29%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 40%, 29%)?
HEX: #2C685E | RGB: rgb(44, 104, 94) | CMYK: 58%, 0%, 10%, 59% | HSV: 170°, 58%, 41%. Copy any format from the conversion table above.
What colors go well with #2C685E?
The complementary color is HSL(350, 40%, 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, 40%, 29%) in CSS?
As HSL: color: hsl(170, 40%, 29%); — As HEX: color: #2C685E; — As RGB: color: rgb(44, 104, 94); — Tailwind CSS: bg-[hsl(170,40%,29%)] — CSS variable: --color-primary: hsl(170, 40%, 29%);