HSL(173, 20%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(173,20%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 20%, 38%) | color: hsl(173, 20%, 38%) | |
| HEX | #4E7470 | color: #4E7470 | |
| RGB | rgb(78, 116, 112) | color: rgb(78, 116, 112) | |
| CMYK | cmyk(33%, 0%, 3%, 55%) | — | |
| HSV | hsv(174, 33%, 45%) | — | |
| HWB | hwb(174 30% 55%) | color: hwb(174 30% 55%) | |
| OKLCH | oklch(0.5293 0.0434 187.69) | color: oklch(0.5293 0.0434 187.69) | |
| Lab | lab(46.01 -14.32 -2.08) | color: lab(46.01 -14.32 -2.08) | |
| LCH | lch(46.01 14.47 188.26) | color: lch(46.01 14.47 188.26) |
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)
#5E5F71 — rgb(94, 95, 113)
Deuteranopia (Green-blind)
#5C5971 — rgb(92, 89, 113)
Tritanopia (Blue-blind)
#507272 — rgb(80, 114, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 20%, 38%);
text
color: hsl(173, 20%, 38%);
border
border: 2px solid hsl(173, 20%, 38%);
gradient light
background: linear-gradient(to right, hsl(173, 20%, 58%), hsl(173, 20%, 38%));
gradient dark
background: linear-gradient(to right, hsl(173, 20%, 38%), hsl(173, 20%, 18%))
hex
background-color: #4E7470;
tailwind
bg-[hsl(173,20%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 20%, 38%, 0.4);
css variable
--color-primary: hsl(173, 20%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(173, 20%, 38%)?
HEX: #4E7470 | RGB: rgb(78, 116, 112) | CMYK: 33%, 0%, 3%, 55% | HSV: 174°, 33%, 45%. Copy any format from the conversion table above.
What colors go well with #4E7470?
The complementary color is HSL(353, 20%, 38%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 20%, 38%) in CSS?
As HSL: color: hsl(173, 20%, 38%); — As HEX: color: #4E7470; — As RGB: color: rgb(78, 116, 112); — Tailwind CSS: bg-[hsl(173,20%,38%)] — CSS variable: --color-primary: hsl(173, 20%, 38%);