HSL(167, 22%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(167,22%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(167, 22%, 22%) | color: hsl(167, 22%, 22%) | |
| HEX | #2C443F | color: #2C443F | |
| RGB | rgb(44, 68, 63) | color: rgb(44, 68, 63) | |
| CMYK | cmyk(35%, 0%, 7%, 73%) | — | |
| HSV | hsv(168, 35%, 27%) | — | |
| HWB | hwb(168 18% 73%) | color: hwb(168 18% 73%) | |
| OKLCH | oklch(0.3652 0.031 180.01) | color: oklch(0.3652 0.031 180.01) | |
| Lab | lab(26.82 -10.59 0.06) | color: lab(26.82 -10.59 0.06) | |
| LCH | lch(26.82 10.59 179.68) | color: lch(26.82 10.59 179.68) |
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)
#363740 — rgb(54, 55, 64)
Deuteranopia (Green-blind)
#353341 — rgb(53, 51, 65)
Tritanopia (Blue-blind)
#2D4141 — rgb(45, 65, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(167, 22%, 22%);
text
color: hsl(167, 22%, 22%);
border
border: 2px solid hsl(167, 22%, 22%);
gradient light
background: linear-gradient(to right, hsl(167, 22%, 42%), hsl(167, 22%, 22%));
gradient dark
background: linear-gradient(to right, hsl(167, 22%, 22%), hsl(167, 22%, 2%))
hex
background-color: #2C443F;
tailwind
bg-[hsl(167,22%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(167, 22%, 22%, 0.4);
css variable
--color-primary: hsl(167, 22%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(167, 22%, 22%)?
HEX: #2C443F | RGB: rgb(44, 68, 63) | CMYK: 35%, 0%, 7%, 73% | HSV: 168°, 35%, 27%. Copy any format from the conversion table above.
What colors go well with #2C443F?
The complementary color is HSL(347, 22%, 22%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(167, 22%, 22%) in CSS?
As HSL: color: hsl(167, 22%, 22%); — As HEX: color: #2C443F; — As RGB: color: rgb(44, 68, 63); — Tailwind CSS: bg-[hsl(167,22%,22%)] — CSS variable: --color-primary: hsl(167, 22%, 22%);