HSL(172, 13%, 18%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(172,13%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 13%, 18%) | color: hsl(172, 13%, 18%) | |
| HEX | #283432 | color: #283432 | |
| RGB | rgb(40, 52, 50) | color: rgb(40, 52, 50) | |
| CMYK | cmyk(23%, 0%, 4%, 80%) | — | |
| HSV | hsv(170, 23%, 20%) | — | |
| HWB | hwb(170 15% 80%) | color: hwb(170 15% 80%) | |
| OKLCH | oklch(0.3133 0.0165 184.01) | color: oklch(0.3133 0.0165 184.01) | |
| Lab | lab(20.59 -5.54 -0.4) | color: lab(20.59 -5.54 -0.4) | |
| LCH | lch(20.59 5.55 184.13) | color: lch(20.59 5.55 184.13) |
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)
#2D2D32 — rgb(45, 45, 50)
Deuteranopia (Green-blind)
#2D2C33 — rgb(45, 44, 51)
Tritanopia (Blue-blind)
#293333 — rgb(41, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 13%, 18%);
text
color: hsl(172, 13%, 18%);
border
border: 2px solid hsl(172, 13%, 18%);
gradient light
background: linear-gradient(to right, hsl(172, 13%, 38%), hsl(172, 13%, 18%));
gradient dark
background: linear-gradient(to right, hsl(172, 13%, 18%), hsl(172, 13%, 0%))
hex
background-color: #283432;
tailwind
bg-[hsl(172,13%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 13%, 18%, 0.4);
css variable
--color-primary: hsl(172, 13%, 18%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 13%, 18%)?
HEX: #283432 | RGB: rgb(40, 52, 50) | CMYK: 23%, 0%, 4%, 80% | HSV: 170°, 23%, 20%. Copy any format from the conversion table above.
What colors go well with #283432?
The complementary color is HSL(352, 13%, 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, 13%, 18%) in CSS?
As HSL: color: hsl(172, 13%, 18%); — As HEX: color: #283432; — As RGB: color: rgb(40, 52, 50); — Tailwind CSS: bg-[hsl(172,13%,18%)] — CSS variable: --color-primary: hsl(172, 13%, 18%);