HSL(162, 30%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,30%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 30%, 31%) | color: hsl(162, 30%, 31%) | |
| HEX | #376759 | color: #376759 | |
| RGB | rgb(55, 103, 89) | color: rgb(55, 103, 89) | |
| CMYK | cmyk(47%, 0%, 14%, 60%) | — | |
| HSV | hsv(163, 47%, 40%) | — | |
| HWB | hwb(163 21% 60%) | color: hwb(163 21% 60%) | |
| OKLCH | oklch(0.4752 0.0577 172.83) | color: oklch(0.4752 0.0577 172.83) | |
| Lab | lab(39.97 -20.07 2.84) | color: lab(39.97 -20.07 2.84) | |
| LCH | lch(39.97 20.27 171.95) | color: lch(39.97 20.27 171.95) |
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)
#4C4C5C — rgb(76, 76, 92)
Deuteranopia (Green-blind)
#49455D — rgb(73, 69, 93)
Tritanopia (Blue-blind)
#395F60 — rgb(57, 95, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 30%, 31%);
text
color: hsl(162, 30%, 31%);
border
border: 2px solid hsl(162, 30%, 31%);
gradient light
background: linear-gradient(to right, hsl(162, 30%, 51%), hsl(162, 30%, 31%));
gradient dark
background: linear-gradient(to right, hsl(162, 30%, 31%), hsl(162, 30%, 11%))
hex
background-color: #376759;
tailwind
bg-[hsl(162,30%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 30%, 31%, 0.4);
css variable
--color-primary: hsl(162, 30%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 30%, 31%)?
HEX: #376759 | RGB: rgb(55, 103, 89) | CMYK: 47%, 0%, 14%, 60% | HSV: 163°, 47%, 40%. Copy any format from the conversion table above.
What colors go well with #376759?
The complementary color is HSL(342, 30%, 31%). 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, 30%, 31%) in CSS?
As HSL: color: hsl(162, 30%, 31%); — As HEX: color: #376759; — As RGB: color: rgb(55, 103, 89); — Tailwind CSS: bg-[hsl(162,30%,31%)] — CSS variable: --color-primary: hsl(162, 30%, 31%);