HSL(162, 20%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,20%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 20%, 37%) | color: hsl(162, 20%, 37%) | |
| HEX | #4B7166 | color: #4B7166 | |
| RGB | rgb(75, 113, 102) | color: rgb(75, 113, 102) | |
| CMYK | cmyk(34%, 0%, 10%, 56%) | — | |
| HSV | hsv(163, 34%, 44%) | — | |
| HWB | hwb(163 29% 56%) | color: hwb(163 29% 56%) | |
| OKLCH | oklch(0.5166 0.0466 174.34) | color: oklch(0.5166 0.0466 174.34) | |
| Lab | lab(44.61 -16.09 1.83) | color: lab(44.61 -16.09 1.83) | |
| LCH | lch(44.61 16.19 173.51) | color: lch(44.61 16.19 173.51) |
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)
#5B5C69 — rgb(91, 92, 105)
Deuteranopia (Green-blind)
#595669 — rgb(89, 86, 105)
Tritanopia (Blue-blind)
#4D6B6B — rgb(77, 107, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 20%, 37%);
text
color: hsl(162, 20%, 37%);
border
border: 2px solid hsl(162, 20%, 37%);
gradient light
background: linear-gradient(to right, hsl(162, 20%, 57%), hsl(162, 20%, 37%));
gradient dark
background: linear-gradient(to right, hsl(162, 20%, 37%), hsl(162, 20%, 17%))
hex
background-color: #4B7166;
tailwind
bg-[hsl(162,20%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 20%, 37%, 0.4);
css variable
--color-primary: hsl(162, 20%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 20%, 37%)?
HEX: #4B7166 | RGB: rgb(75, 113, 102) | CMYK: 34%, 0%, 10%, 56% | HSV: 163°, 34%, 44%. Copy any format from the conversion table above.
What colors go well with #4B7166?
The complementary color is HSL(342, 20%, 37%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 20%, 37%) in CSS?
As HSL: color: hsl(162, 20%, 37%); — As HEX: color: #4B7166; — As RGB: color: rgb(75, 113, 102); — Tailwind CSS: bg-[hsl(162,20%,37%)] — CSS variable: --color-primary: hsl(162, 20%, 37%);