HSL(173, 44%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(173,44%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 44%, 22%) | color: hsl(173, 44%, 22%) | |
| HEX | #1F514B | color: #1F514B | |
| RGB | rgb(31, 81, 75) | color: rgb(31, 81, 75) | |
| CMYK | cmyk(62%, 0%, 7%, 68%) | — | |
| HSV | hsv(173, 62%, 32%) | — | |
| HWB | hwb(173 12% 68%) | color: hwb(173 12% 68%) | |
| OKLCH | oklch(0.3991 0.0545 184.61) | color: oklch(0.3991 0.0545 184.61) | |
| Lab | lab(31.08 -18.39 -1.52) | color: lab(31.08 -18.39 -1.52) | |
| LCH | lch(31.08 18.45 184.72) | color: lch(31.08 18.45 184.72) |
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)
#35354C — rgb(53, 53, 76)
Deuteranopia (Green-blind)
#322E4D — rgb(50, 46, 77)
Tritanopia (Blue-blind)
#224E4E — rgb(34, 78, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 44%, 22%);
text
color: hsl(173, 44%, 22%);
border
border: 2px solid hsl(173, 44%, 22%);
gradient light
background: linear-gradient(to right, hsl(173, 44%, 42%), hsl(173, 44%, 22%));
gradient dark
background: linear-gradient(to right, hsl(173, 44%, 22%), hsl(173, 44%, 2%))
hex
background-color: #1F514B;
tailwind
bg-[hsl(173,44%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 44%, 22%, 0.4);
css variable
--color-primary: hsl(173, 44%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(173, 44%, 22%)?
HEX: #1F514B | RGB: rgb(31, 81, 75) | CMYK: 62%, 0%, 7%, 68% | HSV: 173°, 62%, 32%. Copy any format from the conversion table above.
What colors go well with #1F514B?
The complementary color is HSL(353, 44%, 22%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 44%, 22%) in CSS?
As HSL: color: hsl(173, 44%, 22%); — As HEX: color: #1F514B; — As RGB: color: rgb(31, 81, 75); — Tailwind CSS: bg-[hsl(173,44%,22%)] — CSS variable: --color-primary: hsl(173, 44%, 22%);