HSL(178, 50%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,50%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 50%, 38%) | color: hsl(178, 50%, 38%) | |
| HEX | #30918E | color: #30918E | |
| RGB | rgb(48, 145, 142) | color: rgb(48, 145, 142) | |
| CMYK | cmyk(67%, 0%, 2%, 43%) | — | |
| HSV | hsv(178, 67%, 57%) | — | |
| HWB | hwb(178 19% 43%) | color: hwb(178 19% 43%) | |
| OKLCH | oklch(0.6007 0.0882 192.11) | color: oklch(0.6007 0.0882 192.11) | |
| Lab | lab(54.9 -28.23 -6.65) | color: lab(54.9 -28.23 -6.65) | |
| LCH | lch(54.9 29 193.26) | color: lch(54.9 29 193.26) |
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)
#5A5B8F — rgb(90, 91, 143)
Deuteranopia (Green-blind)
#544D8F — rgb(84, 77, 143)
Tritanopia (Blue-blind)
#358F8F — rgb(53, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 50%, 38%);
text
color: hsl(178, 50%, 38%);
border
border: 2px solid hsl(178, 50%, 38%);
gradient light
background: linear-gradient(to right, hsl(178, 50%, 58%), hsl(178, 50%, 38%));
gradient dark
background: linear-gradient(to right, hsl(178, 50%, 38%), hsl(178, 50%, 18%))
hex
background-color: #30918E;
tailwind
bg-[hsl(178,50%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 50%, 38%, 0.4);
css variable
--color-primary: hsl(178, 50%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 50%, 38%)?
HEX: #30918E | RGB: rgb(48, 145, 142) | CMYK: 67%, 0%, 2%, 43% | HSV: 178°, 67%, 57%. Copy any format from the conversion table above.
What colors go well with #30918E?
The complementary color is HSL(358, 50%, 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, 50%, 38%) in CSS?
As HSL: color: hsl(178, 50%, 38%); — As HEX: color: #30918E; — As RGB: color: rgb(48, 145, 142); — Tailwind CSS: bg-[hsl(178,50%,38%)] — CSS variable: --color-primary: hsl(178, 50%, 38%);