HSL(178, 50%, 33%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,50%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 50%, 33%) | color: hsl(178, 50%, 33%) | |
| HEX | #2A7E7B | color: #2A7E7B | |
| RGB | rgb(42, 126, 123) | color: rgb(42, 126, 123) | |
| CMYK | cmyk(67%, 0%, 2%, 51%) | — | |
| HSV | hsv(178, 67%, 49%) | — | |
| HWB | hwb(178 16% 51%) | color: hwb(178 16% 51%) | |
| OKLCH | oklch(0.5428 0.079 191.7) | color: oklch(0.5428 0.079 191.7) | |
| Lab | lab(48.06 -25.37 -5.75) | color: lab(48.06 -25.37 -5.75) | |
| LCH | lch(48.06 26.01 192.77) | color: lch(48.06 26.01 192.77) |
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)
#4E4F7C — rgb(78, 79, 124)
Deuteranopia (Green-blind)
#4A437C — rgb(74, 67, 124)
Tritanopia (Blue-blind)
#2E7C7C — rgb(46, 124, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 50%, 33%);
text
color: hsl(178, 50%, 33%);
border
border: 2px solid hsl(178, 50%, 33%);
gradient light
background: linear-gradient(to right, hsl(178, 50%, 53%), hsl(178, 50%, 33%));
gradient dark
background: linear-gradient(to right, hsl(178, 50%, 33%), hsl(178, 50%, 13%))
hex
background-color: #2A7E7B;
tailwind
bg-[hsl(178,50%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 50%, 33%, 0.4);
css variable
--color-primary: hsl(178, 50%, 33%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 50%, 33%)?
HEX: #2A7E7B | RGB: rgb(42, 126, 123) | CMYK: 67%, 0%, 2%, 51% | HSV: 178°, 67%, 49%. Copy any format from the conversion table above.
What colors go well with #2A7E7B?
The complementary color is HSL(358, 50%, 33%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(178, 50%, 33%) in CSS?
As HSL: color: hsl(178, 50%, 33%); — As HEX: color: #2A7E7B; — As RGB: color: rgb(42, 126, 123); — Tailwind CSS: bg-[hsl(178,50%,33%)] — CSS variable: --color-primary: hsl(178, 50%, 33%);