HSL(162, 74%, 7%)
Very Dark Cyan — Cyan color
Adjust Color
Color Information
Color Name
Very Dark Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,74%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 74%, 7%) | color: hsl(162, 74%, 7%) | |
| HEX | #051F17 | color: #051F17 | |
| RGB | rgb(5, 31, 23) | color: rgb(5, 31, 23) | |
| CMYK | cmyk(84%, 0%, 26%, 88%) | — | |
| HSV | hsv(162, 84%, 12%) | — | |
| HWB | hwb(162 2% 88%) | color: hwb(162 2% 88%) | |
| OKLCH | oklch(0.2161 0.0361 169.75) | color: oklch(0.2161 0.0361 169.75) | |
| Lab | lab(9.59 -12.38 2.52) | color: lab(9.59 -12.38 2.52) | |
| LCH | lch(9.59 12.63 168.49) | color: lch(9.59 12.63 168.49) |
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)
#101019 — rgb(16, 16, 25)
Deuteranopia (Green-blind)
#0F0D19 — rgb(15, 13, 25)
Tritanopia (Blue-blind)
#061A1B — rgb(6, 26, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 74%, 7%);
text
color: hsl(162, 74%, 7%);
border
border: 2px solid hsl(162, 74%, 7%);
gradient light
background: linear-gradient(to right, hsl(162, 74%, 27%), hsl(162, 74%, 7%));
gradient dark
background: linear-gradient(to right, hsl(162, 74%, 7%), hsl(162, 74%, 0%))
hex
background-color: #051F17;
tailwind
bg-[hsl(162,74%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 74%, 7%, 0.4);
css variable
--color-primary: hsl(162, 74%, 7%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 74%, 7%)?
HEX: #051F17 | RGB: rgb(5, 31, 23) | CMYK: 84%, 0%, 26%, 88% | HSV: 162°, 84%, 12%. Copy any format from the conversion table above.
What colors go well with #051F17?
The complementary color is HSL(342, 74%, 7%). 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, 74%, 7%) in CSS?
As HSL: color: hsl(162, 74%, 7%); — As HEX: color: #051F17; — As RGB: color: rgb(5, 31, 23); — Tailwind CSS: bg-[hsl(162,74%,7%)] — CSS variable: --color-primary: hsl(162, 74%, 7%);