HSL(166, 25%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,25%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 25%, 30%) | color: hsl(166, 25%, 30%) | |
| HEX | #396057 | color: #396057 | |
| RGB | rgb(57, 96, 87) | color: rgb(57, 96, 87) | |
| CMYK | cmyk(41%, 0%, 9%, 62%) | — | |
| HSV | hsv(166, 41%, 38%) | — | |
| HWB | hwb(166 22% 62%) | color: hwb(166 22% 62%) | |
| OKLCH | oklch(0.457 0.047 177.75) | color: oklch(0.457 0.047 177.75) | |
| Lab | lab(37.7 -16.17 0.79) | color: lab(37.7 -16.17 0.79) | |
| LCH | lch(37.7 16.19 177.2) | color: lch(37.7 16.19 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)
#4A4A59 — rgb(74, 74, 89)
Deuteranopia (Green-blind)
#48455A — rgb(72, 69, 90)
Tritanopia (Blue-blind)
#3B5B5B — rgb(59, 91, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 25%, 30%);
text
color: hsl(166, 25%, 30%);
border
border: 2px solid hsl(166, 25%, 30%);
gradient light
background: linear-gradient(to right, hsl(166, 25%, 50%), hsl(166, 25%, 30%));
gradient dark
background: linear-gradient(to right, hsl(166, 25%, 30%), hsl(166, 25%, 10%))
hex
background-color: #396057;
tailwind
bg-[hsl(166,25%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 25%, 30%, 0.4);
css variable
--color-primary: hsl(166, 25%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 25%, 30%)?
HEX: #396057 | RGB: rgb(57, 96, 87) | CMYK: 41%, 0%, 9%, 62% | HSV: 166°, 41%, 38%. Copy any format from the conversion table above.
What colors go well with #396057?
The complementary color is HSL(346, 25%, 30%). 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, 25%, 30%) in CSS?
As HSL: color: hsl(166, 25%, 30%); — As HEX: color: #396057; — As RGB: color: rgb(57, 96, 87); — Tailwind CSS: bg-[hsl(166,25%,30%)] — CSS variable: --color-primary: hsl(166, 25%, 30%);