HSL(172, 56%, 19%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,56%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 56%, 19%) | color: hsl(172, 56%, 19%) | |
| HEX | #154C44 | color: #154C44 | |
| RGB | rgb(21, 76, 68) | color: rgb(21, 76, 68) | |
| CMYK | cmyk(72%, 0%, 11%, 70%) | — | |
| HSV | hsv(171, 72%, 30%) | — | |
| HWB | hwb(171 8% 70%) | color: hwb(171 8% 70%) | |
| OKLCH | oklch(0.3786 0.0581 181.55) | color: oklch(0.3786 0.0581 181.55) | |
| Lab | lab(28.76 -19.94 -0.46) | color: lab(28.76 -19.94 -0.46) | |
| LCH | lch(28.76 19.95 181.32) | color: lch(28.76 19.95 181.32) |
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)
#2D2D46 — rgb(45, 45, 70)
Deuteranopia (Green-blind)
#2A2646 — rgb(42, 38, 70)
Tritanopia (Blue-blind)
#184748 — rgb(24, 71, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 56%, 19%);
text
color: hsl(172, 56%, 19%);
border
border: 2px solid hsl(172, 56%, 19%);
gradient light
background: linear-gradient(to right, hsl(172, 56%, 39%), hsl(172, 56%, 19%));
gradient dark
background: linear-gradient(to right, hsl(172, 56%, 19%), hsl(172, 56%, 0%))
hex
background-color: #154C44;
tailwind
bg-[hsl(172,56%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 56%, 19%, 0.4);
css variable
--color-primary: hsl(172, 56%, 19%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 56%, 19%)?
HEX: #154C44 | RGB: rgb(21, 76, 68) | CMYK: 72%, 0%, 11%, 70% | HSV: 171°, 72%, 30%. Copy any format from the conversion table above.
What colors go well with #154C44?
The complementary color is HSL(352, 56%, 19%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 56%, 19%) in CSS?
As HSL: color: hsl(172, 56%, 19%); — As HEX: color: #154C44; — As RGB: color: rgb(21, 76, 68); — Tailwind CSS: bg-[hsl(172,56%,19%)] — CSS variable: --color-primary: hsl(172, 56%, 19%);