HSL(156, 18%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(156,18%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 18%, 22%) | color: hsl(156, 18%, 22%) | |
| HEX | #2E423A | color: #2E423A | |
| RGB | rgb(46, 66, 58) | color: rgb(46, 66, 58) | |
| CMYK | cmyk(30%, 0%, 12%, 74%) | — | |
| HSV | hsv(156, 30%, 26%) | — | |
| HWB | hwb(156 18% 74%) | color: hwb(156 18% 74%) | |
| OKLCH | oklch(0.3593 0.0289 168.06) | color: oklch(0.3593 0.0289 168.06) | |
| Lab | lab(26.11 -9.95 2.32) | color: lab(26.11 -9.95 2.32) | |
| LCH | lch(26.11 10.22 166.88) | color: lch(26.11 10.22 166.88) |
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)
#37373C — rgb(55, 55, 60)
Deuteranopia (Green-blind)
#36343C — rgb(54, 52, 60)
Tritanopia (Blue-blind)
#2F3D3E — rgb(47, 61, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 18%, 22%);
text
color: hsl(156, 18%, 22%);
border
border: 2px solid hsl(156, 18%, 22%);
gradient light
background: linear-gradient(to right, hsl(156, 18%, 42%), hsl(156, 18%, 22%));
gradient dark
background: linear-gradient(to right, hsl(156, 18%, 22%), hsl(156, 18%, 2%))
hex
background-color: #2E423A;
tailwind
bg-[hsl(156,18%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 18%, 22%, 0.4);
css variable
--color-primary: hsl(156, 18%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 18%, 22%)?
HEX: #2E423A | RGB: rgb(46, 66, 58) | CMYK: 30%, 0%, 12%, 74% | HSV: 156°, 30%, 26%. Copy any format from the conversion table above.
What colors go well with #2E423A?
The complementary color is HSL(336, 18%, 22%). For a triadic harmony, use hues 156°, 276°, and 36°. For analogous combinations, try hues 126° and 186°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(156, 18%, 22%) in CSS?
As HSL: color: hsl(156, 18%, 22%); — As HEX: color: #2E423A; — As RGB: color: rgb(46, 66, 58); — Tailwind CSS: bg-[hsl(156,18%,22%)] — CSS variable: --color-primary: hsl(156, 18%, 22%);