HSL(178, 49%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,49%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 49%, 38%) | color: hsl(178, 49%, 38%) | |
| HEX | #31908D | color: #31908D | |
| RGB | rgb(49, 144, 141) | color: rgb(49, 144, 141) | |
| CMYK | cmyk(66%, 0%, 2%, 44%) | — | |
| HSV | hsv(178, 66%, 56%) | — | |
| HWB | hwb(178 19% 44%) | color: hwb(178 19% 44%) | |
| OKLCH | oklch(0.598 0.0871 192.08) | color: oklch(0.598 0.0871 192.08) | |
| Lab | lab(54.58 -27.87 -6.55) | color: lab(54.58 -27.87 -6.55) | |
| LCH | lch(54.58 28.63 193.23) | color: lch(54.58 28.63 193.23) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5A5B8E — rgb(90, 91, 142)
Deuteranopia (Green-blind)
#554E8E — rgb(85, 78, 142)
Tritanopia (Blue-blind)
#368E8E — rgb(54, 142, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 49%, 38%);
text
color: hsl(178, 49%, 38%);
border
border: 2px solid hsl(178, 49%, 38%);
gradient light
background: linear-gradient(to right, hsl(178, 49%, 58%), hsl(178, 49%, 38%));
gradient dark
background: linear-gradient(to right, hsl(178, 49%, 38%), hsl(178, 49%, 18%))
hex
background-color: #31908D;
tailwind
bg-[hsl(178,49%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 49%, 38%, 0.4);
css variable
--color-primary: hsl(178, 49%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 49%, 38%)?
HEX: #31908D | RGB: rgb(49, 144, 141) | CMYK: 66%, 0%, 2%, 44% | HSV: 178°, 66%, 56%. Copy any format from the conversion table above.
What colors go well with #31908D?
The complementary color is HSL(358, 49%, 38%). 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, 49%, 38%) in CSS?
As HSL: color: hsl(178, 49%, 38%); — As HEX: color: #31908D; — As RGB: color: rgb(49, 144, 141); — Tailwind CSS: bg-[hsl(178,49%,38%)] — CSS variable: --color-primary: hsl(178, 49%, 38%);