HSL(171, 79%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,79%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 79%, 18%) | color: hsl(171, 79%, 18%) | |
| HEX | #0A5247 | color: #0A5247 | |
| RGB | rgb(10, 82, 71) | color: rgb(10, 82, 71) | |
| CMYK | cmyk(88%, 0%, 13%, 68%) | — | |
| HSV | hsv(171, 88%, 32%) | — | |
| HWB | hwb(171 4% 68%) | color: hwb(171 4% 68%) | |
| OKLCH | oklch(0.3946 0.0682 179.17) | color: oklch(0.3946 0.0682 179.17) | |
| Lab | lab(30.77 -23.71 0.52) | color: lab(30.77 -23.71 0.52) | |
| LCH | lch(30.77 23.72 178.74) | color: lch(30.77 23.72 178.74) |
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)
#292A4A — rgb(41, 42, 74)
Deuteranopia (Green-blind)
#25204A — rgb(37, 32, 74)
Tritanopia (Blue-blind)
#0E4C4C — rgb(14, 76, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 79%, 18%);
text
color: hsl(171, 79%, 18%);
border
border: 2px solid hsl(171, 79%, 18%);
gradient light
background: linear-gradient(to right, hsl(171, 79%, 38%), hsl(171, 79%, 18%));
gradient dark
background: linear-gradient(to right, hsl(171, 79%, 18%), hsl(171, 79%, 0%))
hex
background-color: #0A5247;
tailwind
bg-[hsl(171,79%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 79%, 18%, 0.4);
css variable
--color-primary: hsl(171, 79%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 79%, 18%)?
HEX: #0A5247 | RGB: rgb(10, 82, 71) | CMYK: 88%, 0%, 13%, 68% | HSV: 171°, 88%, 32%. Copy any format from the conversion table above.
What colors go well with #0A5247?
The complementary color is HSL(351, 79%, 18%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 79%, 18%) in CSS?
As HSL: color: hsl(171, 79%, 18%); — As HEX: color: #0A5247; — As RGB: color: rgb(10, 82, 71); — Tailwind CSS: bg-[hsl(171,79%,18%)] — CSS variable: --color-primary: hsl(171, 79%, 18%);