HSL(164, 41%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(164,41%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(164, 41%, 28%) | color: hsl(164, 41%, 28%) | |
| HEX | #2A6555 | color: #2A6555 | |
| RGB | rgb(42, 101, 85) | color: rgb(42, 101, 85) | |
| CMYK | cmyk(58%, 0%, 16%, 60%) | — | |
| HSV | hsv(164, 58%, 40%) | — | |
| HWB | hwb(164 17% 60%) | color: hwb(164 17% 60%) | |
| OKLCH | oklch(0.4626 0.0673 172.85) | color: oklch(0.4626 0.0673 172.85) | |
| Lab | lab(38.65 -23.52 3.3) | color: lab(38.65 -23.52 3.3) | |
| LCH | lch(38.65 23.75 172.01) | color: lch(38.65 23.75 172.01) |
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)
#444459 — rgb(68, 68, 89)
Deuteranopia (Green-blind)
#403C5A — rgb(64, 60, 90)
Tritanopia (Blue-blind)
#2D5C5D — rgb(45, 92, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(164, 41%, 28%);
text
color: hsl(164, 41%, 28%);
border
border: 2px solid hsl(164, 41%, 28%);
gradient light
background: linear-gradient(to right, hsl(164, 41%, 48%), hsl(164, 41%, 28%));
gradient dark
background: linear-gradient(to right, hsl(164, 41%, 28%), hsl(164, 41%, 8%))
hex
background-color: #2A6555;
tailwind
bg-[hsl(164,41%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(164, 41%, 28%, 0.4);
css variable
--color-primary: hsl(164, 41%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(164, 41%, 28%)?
HEX: #2A6555 | RGB: rgb(42, 101, 85) | CMYK: 58%, 0%, 16%, 60% | HSV: 164°, 58%, 40%. Copy any format from the conversion table above.
What colors go well with #2A6555?
The complementary color is HSL(344, 41%, 28%). For a triadic harmony, use hues 164°, 284°, and 44°. For analogous combinations, try hues 134° and 194°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(164, 41%, 28%) in CSS?
As HSL: color: hsl(164, 41%, 28%); — As HEX: color: #2A6555; — As RGB: color: rgb(42, 101, 85); — Tailwind CSS: bg-[hsl(164,41%,28%)] — CSS variable: --color-primary: hsl(164, 41%, 28%);