HSL(191, 30%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(191,30%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(191, 30%, 18%) | color: hsl(191, 30%, 18%) | |
| HEX | #20373C | color: #20373C | |
| RGB | rgb(32, 55, 60) | color: rgb(32, 55, 60) | |
| CMYK | cmyk(47%, 8%, 0%, 76%) | — | |
| HSV | hsv(191, 47%, 24%) | — | |
| HWB | hwb(191 13% 76%) | color: hwb(191 13% 76%) | |
| OKLCH | oklch(0.32 0.0302 212.93) | color: oklch(0.32 0.0302 212.93) | |
| Lab | lab(21.45 -7.43 -5.97) | color: lab(21.45 -7.43 -5.97) | |
| LCH | lch(21.45 9.53 218.78) | color: lch(21.45 9.53 218.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)
#2A2A3B — rgb(42, 42, 59)
Deuteranopia (Green-blind)
#29273B — rgb(41, 39, 59)
Tritanopia (Blue-blind)
#213A3A — rgb(33, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(191, 30%, 18%);
text
color: hsl(191, 30%, 18%);
border
border: 2px solid hsl(191, 30%, 18%);
gradient light
background: linear-gradient(to right, hsl(191, 30%, 38%), hsl(191, 30%, 18%));
gradient dark
background: linear-gradient(to right, hsl(191, 30%, 18%), hsl(191, 30%, 0%))
hex
background-color: #20373C;
tailwind
bg-[hsl(191,30%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(191, 30%, 18%, 0.4);
css variable
--color-primary: hsl(191, 30%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(191, 30%, 18%)?
HEX: #20373C | RGB: rgb(32, 55, 60) | CMYK: 47%, 8%, 0%, 76% | HSV: 191°, 47%, 24%. Copy any format from the conversion table above.
What colors go well with #20373C?
The complementary color is HSL(11, 30%, 18%). For a triadic harmony, use hues 191°, 311°, and 71°. For analogous combinations, try hues 161° and 221°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(191, 30%, 18%) in CSS?
As HSL: color: hsl(191, 30%, 18%); — As HEX: color: #20373C; — As RGB: color: rgb(32, 55, 60); — Tailwind CSS: bg-[hsl(191,30%,18%)] — CSS variable: --color-primary: hsl(191, 30%, 18%);