HSL(171, 31%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,31%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 31%, 37%) | color: hsl(171, 31%, 37%) | |
| HEX | #417C73 | color: #417C73 | |
| RGB | rgb(65, 124, 115) | color: rgb(65, 124, 115) | |
| CMYK | cmyk(48%, 0%, 7%, 51%) | — | |
| HSV | hsv(171, 48%, 49%) | — | |
| HWB | hwb(171 25% 51%) | color: hwb(171 25% 51%) | |
| OKLCH | oklch(0.5436 0.0637 182.87) | color: oklch(0.5436 0.0637 182.87) | |
| Lab | lab(47.98 -21.62 -1.06) | color: lab(47.98 -21.62 -1.06) | |
| LCH | lch(47.98 21.65 182.81) | color: lch(47.98 21.65 182.81) |
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)
#5B5B75 — rgb(91, 91, 117)
Deuteranopia (Green-blind)
#575376 — rgb(87, 83, 118)
Tritanopia (Blue-blind)
#447777 — rgb(68, 119, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 31%, 37%);
text
color: hsl(171, 31%, 37%);
border
border: 2px solid hsl(171, 31%, 37%);
gradient light
background: linear-gradient(to right, hsl(171, 31%, 57%), hsl(171, 31%, 37%));
gradient dark
background: linear-gradient(to right, hsl(171, 31%, 37%), hsl(171, 31%, 17%))
hex
background-color: #417C73;
tailwind
bg-[hsl(171,31%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 31%, 37%, 0.4);
css variable
--color-primary: hsl(171, 31%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 31%, 37%)?
HEX: #417C73 | RGB: rgb(65, 124, 115) | CMYK: 48%, 0%, 7%, 51% | HSV: 171°, 48%, 49%. Copy any format from the conversion table above.
What colors go well with #417C73?
The complementary color is HSL(351, 31%, 37%). 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, 31%, 37%) in CSS?
As HSL: color: hsl(171, 31%, 37%); — As HEX: color: #417C73; — As RGB: color: rgb(65, 124, 115); — Tailwind CSS: bg-[hsl(171,31%,37%)] — CSS variable: --color-primary: hsl(171, 31%, 37%);