HSL(166, 32%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,32%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 32%, 31%) | color: hsl(166, 32%, 31%) | |
| HEX | #36685D | color: #36685D | |
| RGB | rgb(54, 104, 93) | color: rgb(54, 104, 93) | |
| CMYK | cmyk(48%, 0%, 11%, 59%) | — | |
| HSV | hsv(167, 48%, 41%) | — | |
| HWB | hwb(167 21% 59%) | color: hwb(167 21% 59%) | |
| OKLCH | oklch(0.4787 0.0574 177.74) | color: oklch(0.4787 0.0574 177.74) | |
| Lab | lab(40.37 -19.84 0.97) | color: lab(40.37 -19.84 0.97) | |
| LCH | lch(40.37 19.86 177.2) | color: lch(40.37 19.86 177.2) |
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)
#4C4C60 — rgb(76, 76, 96)
Deuteranopia (Green-blind)
#494560 — rgb(73, 69, 96)
Tritanopia (Blue-blind)
#396262 — rgb(57, 98, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 32%, 31%);
text
color: hsl(166, 32%, 31%);
border
border: 2px solid hsl(166, 32%, 31%);
gradient light
background: linear-gradient(to right, hsl(166, 32%, 51%), hsl(166, 32%, 31%));
gradient dark
background: linear-gradient(to right, hsl(166, 32%, 31%), hsl(166, 32%, 11%))
hex
background-color: #36685D;
tailwind
bg-[hsl(166,32%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 32%, 31%, 0.4);
css variable
--color-primary: hsl(166, 32%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 32%, 31%)?
HEX: #36685D | RGB: rgb(54, 104, 93) | CMYK: 48%, 0%, 11%, 59% | HSV: 167°, 48%, 41%. Copy any format from the conversion table above.
What colors go well with #36685D?
The complementary color is HSL(346, 32%, 31%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 32%, 31%) in CSS?
As HSL: color: hsl(166, 32%, 31%); — As HEX: color: #36685D; — As RGB: color: rgb(54, 104, 93); — Tailwind CSS: bg-[hsl(166,32%,31%)] — CSS variable: --color-primary: hsl(166, 32%, 31%);