HSL(175, 40%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(175,40%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 40%, 31%) | color: hsl(175, 40%, 31%) | |
| HEX | #2F6F69 | color: #2F6F69 | |
| RGB | rgb(47, 111, 105) | color: rgb(47, 111, 105) | |
| CMYK | cmyk(58%, 0%, 5%, 56%) | — | |
| HSV | hsv(174, 58%, 44%) | — | |
| HWB | hwb(174 18% 56%) | color: hwb(174 18% 56%) | |
| OKLCH | oklch(0.4984 0.0661 186.99) | color: oklch(0.4984 0.0661 186.99) | |
| Lab | lab(42.75 -21.97 -2.85) | color: lab(42.75 -21.97 -2.85) | |
| LCH | lch(42.75 22.15 187.39) | color: lch(42.75 22.15 187.39) |
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)
#4B4B6A — rgb(75, 75, 106)
Deuteranopia (Green-blind)
#47426B — rgb(71, 66, 107)
Tritanopia (Blue-blind)
#326C6C — rgb(50, 108, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 40%, 31%);
text
color: hsl(175, 40%, 31%);
border
border: 2px solid hsl(175, 40%, 31%);
gradient light
background: linear-gradient(to right, hsl(175, 40%, 51%), hsl(175, 40%, 31%));
gradient dark
background: linear-gradient(to right, hsl(175, 40%, 31%), hsl(175, 40%, 11%))
hex
background-color: #2F6F69;
tailwind
bg-[hsl(175,40%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 40%, 31%, 0.4);
css variable
--color-primary: hsl(175, 40%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(175, 40%, 31%)?
HEX: #2F6F69 | RGB: rgb(47, 111, 105) | CMYK: 58%, 0%, 5%, 56% | HSV: 174°, 58%, 44%. Copy any format from the conversion table above.
What colors go well with #2F6F69?
The complementary color is HSL(355, 40%, 31%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(175, 40%, 31%) in CSS?
As HSL: color: hsl(175, 40%, 31%); — As HEX: color: #2F6F69; — As RGB: color: rgb(47, 111, 105); — Tailwind CSS: bg-[hsl(175,40%,31%)] — CSS variable: --color-primary: hsl(175, 40%, 31%);