HSL(171, 45%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,45%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 45%, 38%) | color: hsl(171, 45%, 38%) | |
| HEX | #358D7F | color: #358D7F | |
| RGB | rgb(53, 141, 127) | color: rgb(53, 141, 127) | |
| CMYK | cmyk(62%, 0%, 10%, 45%) | — | |
| HSV | hsv(170, 62%, 55%) | — | |
| HWB | hwb(170 21% 45%) | color: hwb(170 21% 45%) | |
| OKLCH | oklch(0.5868 0.0863 180.87) | color: oklch(0.5868 0.0863 180.87) | |
| Lab | lab(53.32 -29.65 -0.31) | color: lab(53.32 -29.65 -0.31) | |
| LCH | lch(53.32 29.65 180.6) | color: lch(53.32 29.65 180.6) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5B5C82 — rgb(91, 92, 130)
Deuteranopia (Green-blind)
#564F83 — rgb(86, 79, 131)
Tritanopia (Blue-blind)
#398586 — rgb(57, 133, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 45%, 38%);
text
color: hsl(171, 45%, 38%);
border
border: 2px solid hsl(171, 45%, 38%);
gradient light
background: linear-gradient(to right, hsl(171, 45%, 58%), hsl(171, 45%, 38%));
gradient dark
background: linear-gradient(to right, hsl(171, 45%, 38%), hsl(171, 45%, 18%))
hex
background-color: #358D7F;
tailwind
bg-[hsl(171,45%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 45%, 38%, 0.4);
css variable
--color-primary: hsl(171, 45%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 45%, 38%)?
HEX: #358D7F | RGB: rgb(53, 141, 127) | CMYK: 62%, 0%, 10%, 45% | HSV: 170°, 62%, 55%. Copy any format from the conversion table above.
What colors go well with #358D7F?
The complementary color is HSL(351, 45%, 38%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 45%, 38%) in CSS?
As HSL: color: hsl(171, 45%, 38%); — As HEX: color: #358D7F; — As RGB: color: rgb(53, 141, 127); — Tailwind CSS: bg-[hsl(171,45%,38%)] — CSS variable: --color-primary: hsl(171, 45%, 38%);