HSL(187, 16%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(187,16%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 16%, 20%) | color: hsl(187, 16%, 20%) | |
| HEX | #2B393B | color: #2B393B | |
| RGB | rgb(43, 57, 59) | color: rgb(43, 57, 59) | |
| CMYK | cmyk(27%, 3%, 0%, 77%) | — | |
| HSV | hsv(188, 27%, 23%) | — | |
| HWB | hwb(188 17% 77%) | color: hwb(188 17% 77%) | |
| OKLCH | oklch(0.3329 0.0188 207.05) | color: oklch(0.3329 0.0188 207.05) | |
| Lab | lab(22.85 -5.18 -3.13) | color: lab(22.85 -5.18 -3.13) | |
| LCH | lch(22.85 6.05 211.14) | color: lch(22.85 6.05 211.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)
#31313B — rgb(49, 49, 59)
Deuteranopia (Green-blind)
#302F3A — rgb(48, 47, 58)
Tritanopia (Blue-blind)
#2C3A3A — rgb(44, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 16%, 20%);
text
color: hsl(187, 16%, 20%);
border
border: 2px solid hsl(187, 16%, 20%);
gradient light
background: linear-gradient(to right, hsl(187, 16%, 40%), hsl(187, 16%, 20%));
gradient dark
background: linear-gradient(to right, hsl(187, 16%, 20%), hsl(187, 16%, 0%))
hex
background-color: #2B393B;
tailwind
bg-[hsl(187,16%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 16%, 20%, 0.4);
css variable
--color-primary: hsl(187, 16%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 16%, 20%)?
HEX: #2B393B | RGB: rgb(43, 57, 59) | CMYK: 27%, 3%, 0%, 77% | HSV: 188°, 27%, 23%. Copy any format from the conversion table above.
What colors go well with #2B393B?
The complementary color is HSL(7, 16%, 20%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(187, 16%, 20%) in CSS?
As HSL: color: hsl(187, 16%, 20%); — As HEX: color: #2B393B; — As RGB: color: rgb(43, 57, 59); — Tailwind CSS: bg-[hsl(187,16%,20%)] — CSS variable: --color-primary: hsl(187, 16%, 20%);