HSL(175, 45%, 35%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(175,45%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 45%, 35%) | color: hsl(175, 45%, 35%) | |
| HEX | #31817B | color: #31817B | |
| RGB | rgb(49, 129, 123) | color: rgb(49, 129, 123) | |
| CMYK | cmyk(62%, 0%, 5%, 49%) | — | |
| HSV | hsv(176, 62%, 51%) | — | |
| HWB | hwb(176 19% 49%) | color: hwb(176 19% 49%) | |
| OKLCH | oklch(0.5529 0.0777 188.3) | color: oklch(0.5529 0.0777 188.3) | |
| Lab | lab(49.23 -25.61 -3.99) | color: lab(49.23 -25.61 -3.99) | |
| LCH | lch(49.23 25.92 188.86) | color: lch(49.23 25.92 188.86) |
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)
#54547C — rgb(84, 84, 124)
Deuteranopia (Green-blind)
#4F497D — rgb(79, 73, 125)
Tritanopia (Blue-blind)
#357E7E — rgb(53, 126, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 45%, 35%);
text
color: hsl(175, 45%, 35%);
border
border: 2px solid hsl(175, 45%, 35%);
gradient light
background: linear-gradient(to right, hsl(175, 45%, 55%), hsl(175, 45%, 35%));
gradient dark
background: linear-gradient(to right, hsl(175, 45%, 35%), hsl(175, 45%, 15%))
hex
background-color: #31817B;
tailwind
bg-[hsl(175,45%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 45%, 35%, 0.4);
css variable
--color-primary: hsl(175, 45%, 35%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(175, 45%, 35%)?
HEX: #31817B | RGB: rgb(49, 129, 123) | CMYK: 62%, 0%, 5%, 49% | HSV: 176°, 62%, 51%. Copy any format from the conversion table above.
What colors go well with #31817B?
The complementary color is HSL(355, 45%, 35%). 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, 45%, 35%) in CSS?
As HSL: color: hsl(175, 45%, 35%); — As HEX: color: #31817B; — As RGB: color: rgb(49, 129, 123); — Tailwind CSS: bg-[hsl(175,45%,35%)] — CSS variable: --color-primary: hsl(175, 45%, 35%);