HSL(172, 40%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 40%, 37%) | color: hsl(172, 40%, 37%) | |
| HEX | #39847A | color: #39847A | |
| RGB | rgb(57, 132, 122) | color: rgb(57, 132, 122) | |
| CMYK | cmyk(57%, 0%, 8%, 48%) | — | |
| HSV | hsv(172, 57%, 52%) | — | |
| HWB | hwb(172 22% 48%) | color: hwb(172 22% 48%) | |
| OKLCH | oklch(0.5632 0.076 183.6) | color: oklch(0.5632 0.076 183.6) | |
| Lab | lab(50.42 -25.76 -1.62) | color: lab(50.42 -25.76 -1.62) | |
| LCH | lch(50.42 25.81 183.6) | color: lch(50.42 25.81 183.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)
#595A7C — rgb(89, 90, 124)
Deuteranopia (Green-blind)
#55507D — rgb(85, 80, 125)
Tritanopia (Blue-blind)
#3D7E7F — rgb(61, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 40%, 37%);
text
color: hsl(172, 40%, 37%);
border
border: 2px solid hsl(172, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(172, 40%, 57%), hsl(172, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(172, 40%, 37%), hsl(172, 40%, 17%))
hex
background-color: #39847A;
tailwind
bg-[hsl(172,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 40%, 37%, 0.4);
css variable
--color-primary: hsl(172, 40%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 40%, 37%)?
HEX: #39847A | RGB: rgb(57, 132, 122) | CMYK: 57%, 0%, 8%, 48% | HSV: 172°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #39847A?
The complementary color is HSL(352, 40%, 37%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 40%, 37%) in CSS?
As HSL: color: hsl(172, 40%, 37%); — As HEX: color: #39847A; — As RGB: color: rgb(57, 132, 122); — Tailwind CSS: bg-[hsl(172,40%,37%)] — CSS variable: --color-primary: hsl(172, 40%, 37%);