HSL(185, 20%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,20%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 20%, 30%) | color: hsl(185, 20%, 30%) | |
| HEX | #3D595C | color: #3D595C | |
| RGB | rgb(61, 89, 92) | color: rgb(61, 89, 92) | |
| CMYK | cmyk(34%, 3%, 0%, 64%) | — | |
| HSV | hsv(186, 34%, 36%) | — | |
| HWB | hwb(186 24% 64%) | color: hwb(186 24% 64%) | |
| OKLCH | oklch(0.443 0.0336 204.38) | color: oklch(0.443 0.0336 204.38) | |
| Lab | lab(35.81 -9.54 -5.08) | color: lab(35.81 -9.54 -5.08) | |
| LCH | lch(35.81 10.81 208.04) | color: lch(35.81 10.81 208.04) |
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)
#49495B — rgb(73, 73, 91)
Deuteranopia (Green-blind)
#48455B — rgb(72, 69, 91)
Tritanopia (Blue-blind)
#3E5B5B — rgb(62, 91, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 20%, 30%);
text
color: hsl(185, 20%, 30%);
border
border: 2px solid hsl(185, 20%, 30%);
gradient light
background: linear-gradient(to right, hsl(185, 20%, 50%), hsl(185, 20%, 30%));
gradient dark
background: linear-gradient(to right, hsl(185, 20%, 30%), hsl(185, 20%, 10%))
hex
background-color: #3D595C;
tailwind
bg-[hsl(185,20%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 20%, 30%, 0.4);
css variable
--color-primary: hsl(185, 20%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 20%, 30%)?
HEX: #3D595C | RGB: rgb(61, 89, 92) | CMYK: 34%, 3%, 0%, 64% | HSV: 186°, 34%, 36%. Copy any format from the conversion table above.
What colors go well with #3D595C?
The complementary color is HSL(5, 20%, 30%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(185, 20%, 30%) in CSS?
As HSL: color: hsl(185, 20%, 30%); — As HEX: color: #3D595C; — As RGB: color: rgb(61, 89, 92); — Tailwind CSS: bg-[hsl(185,20%,30%)] — CSS variable: --color-primary: hsl(185, 20%, 30%);