HSL(172, 15%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(172,15%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 15%, 18%) | color: hsl(172, 15%, 18%) | |
| HEX | #273533 | color: #273533 | |
| RGB | rgb(39, 53, 51) | color: rgb(39, 53, 51) | |
| CMYK | cmyk(26%, 0%, 4%, 79%) | — | |
| HSV | hsv(171, 26%, 21%) | — | |
| HWB | hwb(171 16% 79%) | color: hwb(171 16% 79%) | |
| OKLCH | oklch(0.3157 0.0189 185.51) | color: oklch(0.3157 0.0189 185.51) | |
| Lab | lab(20.89 -6.32 -0.64) | color: lab(20.89 -6.32 -0.64) | |
| LCH | lch(20.89 6.35 185.78) | color: lch(20.89 6.35 185.78) |
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)
#2D2D33 — rgb(45, 45, 51)
Deuteranopia (Green-blind)
#2C2B34 — rgb(44, 43, 52)
Tritanopia (Blue-blind)
#283434 — rgb(40, 52, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 15%, 18%);
text
color: hsl(172, 15%, 18%);
border
border: 2px solid hsl(172, 15%, 18%);
gradient light
background: linear-gradient(to right, hsl(172, 15%, 38%), hsl(172, 15%, 18%));
gradient dark
background: linear-gradient(to right, hsl(172, 15%, 18%), hsl(172, 15%, 0%))
hex
background-color: #273533;
tailwind
bg-[hsl(172,15%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 15%, 18%, 0.4);
css variable
--color-primary: hsl(172, 15%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 15%, 18%)?
HEX: #273533 | RGB: rgb(39, 53, 51) | CMYK: 26%, 0%, 4%, 79% | HSV: 171°, 26%, 21%. Copy any format from the conversion table above.
What colors go well with #273533?
The complementary color is HSL(352, 15%, 18%). 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, 15%, 18%) in CSS?
As HSL: color: hsl(172, 15%, 18%); — As HEX: color: #273533; — As RGB: color: rgb(39, 53, 51); — Tailwind CSS: bg-[hsl(172,15%,18%)] — CSS variable: --color-primary: hsl(172, 15%, 18%);