HSL(152, 20%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,20%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 20%, 22%) | color: hsl(152, 20%, 22%) | |
| HEX | #2D4339 | color: #2D4339 | |
| RGB | rgb(45, 67, 57) | color: rgb(45, 67, 57) | |
| CMYK | cmyk(33%, 0%, 15%, 74%) | — | |
| HSV | hsv(153, 33%, 26%) | — | |
| HWB | hwb(153 17% 74%) | color: hwb(153 17% 74%) | |
| OKLCH | oklch(0.3611 0.0327 164.76) | color: oklch(0.3611 0.0327 164.76) | |
| Lab | lab(26.35 -11.18 3.33) | color: lab(26.35 -11.18 3.33) | |
| LCH | lch(26.35 11.67 163.41) | color: lch(26.35 11.67 163.41) |
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)
#37373B — rgb(55, 55, 59)
Deuteranopia (Green-blind)
#35343C — rgb(53, 52, 60)
Tritanopia (Blue-blind)
#2E3D3E — rgb(46, 61, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 20%, 22%);
text
color: hsl(152, 20%, 22%);
border
border: 2px solid hsl(152, 20%, 22%);
gradient light
background: linear-gradient(to right, hsl(152, 20%, 42%), hsl(152, 20%, 22%));
gradient dark
background: linear-gradient(to right, hsl(152, 20%, 22%), hsl(152, 20%, 2%))
hex
background-color: #2D4339;
tailwind
bg-[hsl(152,20%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 20%, 22%, 0.4);
css variable
--color-primary: hsl(152, 20%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 20%, 22%)?
HEX: #2D4339 | RGB: rgb(45, 67, 57) | CMYK: 33%, 0%, 15%, 74% | HSV: 153°, 33%, 26%. Copy any format from the conversion table above.
What colors go well with #2D4339?
The complementary color is HSL(332, 20%, 22%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 20%, 22%) in CSS?
As HSL: color: hsl(152, 20%, 22%); — As HEX: color: #2D4339; — As RGB: color: rgb(45, 67, 57); — Tailwind CSS: bg-[hsl(152,20%,22%)] — CSS variable: --color-primary: hsl(152, 20%, 22%);