HSL(151, 87%, 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(151,87%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 87%, 7%) | color: hsl(151, 87%, 7%) | |
| HEX | #022112 | color: #022112 | |
| RGB | rgb(2, 33, 18) | color: rgb(2, 33, 18) | |
| CMYK | cmyk(94%, 0%, 45%, 87%) | — | |
| HSV | hsv(151, 94%, 13%) | — | |
| HWB | hwb(151 1% 87%) | color: hwb(151 1% 87%) | |
| OKLCH | oklch(0.2197 0.0477 158.66) | color: oklch(0.2197 0.0477 158.66) | |
| Lab | lab(10.14 -15.93 6.65) | color: lab(10.14 -15.93 6.65) | |
| LCH | lch(10.14 17.26 157.34) | color: lch(10.14 17.26 157.34) |
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)
#0F1016 — rgb(15, 16, 22)
Deuteranopia (Green-blind)
#0E0B17 — rgb(14, 11, 23)
Tritanopia (Blue-blind)
#041819 — rgb(4, 24, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 87%, 7%);
text
color: hsl(151, 87%, 7%);
border
border: 2px solid hsl(151, 87%, 7%);
gradient light
background: linear-gradient(to right, hsl(151, 87%, 27%), hsl(151, 87%, 7%));
gradient dark
background: linear-gradient(to right, hsl(151, 87%, 7%), hsl(151, 87%, 0%))
hex
background-color: #022112;
tailwind
bg-[hsl(151,87%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 87%, 7%, 0.4);
css variable
--color-primary: hsl(151, 87%, 7%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 87%, 7%)?
HEX: #022112 | RGB: rgb(2, 33, 18) | CMYK: 94%, 0%, 45%, 87% | HSV: 151°, 94%, 13%. Copy any format from the conversion table above.
What colors go well with #022112?
The complementary color is HSL(331, 87%, 7%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 87%, 7%) in CSS?
As HSL: color: hsl(151, 87%, 7%); — As HEX: color: #022112; — As RGB: color: rgb(2, 33, 18); — Tailwind CSS: bg-[hsl(151,87%,7%)] — CSS variable: --color-primary: hsl(151, 87%, 7%);