HSL(172, 23%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,23%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 23%, 26%) | color: hsl(172, 23%, 26%) | |
| HEX | #33524D | color: #33524D | |
| RGB | rgb(51, 82, 77) | color: rgb(51, 82, 77) | |
| CMYK | cmyk(38%, 0%, 6%, 68%) | — | |
| HSV | hsv(170, 38%, 32%) | — | |
| HWB | hwb(170 20% 68%) | color: hwb(170 20% 68%) | |
| OKLCH | oklch(0.4127 0.0378 183.17) | color: oklch(0.4127 0.0378 183.17) | |
| Lab | lab(32.42 -12.76 -0.7) | color: lab(32.42 -12.76 -0.7) | |
| LCH | lch(32.42 12.78 183.14) | color: lch(32.42 12.78 183.14) |
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)
#40414E — rgb(64, 65, 78)
Deuteranopia (Green-blind)
#3F3C4F — rgb(63, 60, 79)
Tritanopia (Blue-blind)
#354F4F — rgb(53, 79, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 23%, 26%);
text
color: hsl(172, 23%, 26%);
border
border: 2px solid hsl(172, 23%, 26%);
gradient light
background: linear-gradient(to right, hsl(172, 23%, 46%), hsl(172, 23%, 26%));
gradient dark
background: linear-gradient(to right, hsl(172, 23%, 26%), hsl(172, 23%, 6%))
hex
background-color: #33524D;
tailwind
bg-[hsl(172,23%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 23%, 26%, 0.4);
css variable
--color-primary: hsl(172, 23%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 23%, 26%)?
HEX: #33524D | RGB: rgb(51, 82, 77) | CMYK: 38%, 0%, 6%, 68% | HSV: 170°, 38%, 32%. Copy any format from the conversion table above.
What colors go well with #33524D?
The complementary color is HSL(352, 23%, 26%). 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, 23%, 26%) in CSS?
As HSL: color: hsl(172, 23%, 26%); — As HEX: color: #33524D; — As RGB: color: rgb(51, 82, 77); — Tailwind CSS: bg-[hsl(172,23%,26%)] — CSS variable: --color-primary: hsl(172, 23%, 26%);