HSL(171, 56%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,56%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 56%, 26%) | color: hsl(171, 56%, 26%) | |
| HEX | #1D675C | color: #1D675C | |
| RGB | rgb(29, 103, 92) | color: rgb(29, 103, 92) | |
| CMYK | cmyk(72%, 0%, 11%, 60%) | — | |
| HSV | hsv(171, 72%, 40%) | — | |
| HWB | hwb(171 11% 60%) | color: hwb(171 11% 60%) | |
| OKLCH | oklch(0.4661 0.0733 181.03) | color: oklch(0.4661 0.0733 181.03) | |
| Lab | lab(39.13 -25.2 -0.33) | color: lab(39.13 -25.2 -0.33) | |
| LCH | lch(39.13 25.2 180.75) | color: lch(39.13 25.2 180.75) |
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)
#3D3E5F — rgb(61, 62, 95)
Deuteranopia (Green-blind)
#39335F — rgb(57, 51, 95)
Tritanopia (Blue-blind)
#216161 — rgb(33, 97, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 56%, 26%);
text
color: hsl(171, 56%, 26%);
border
border: 2px solid hsl(171, 56%, 26%);
gradient light
background: linear-gradient(to right, hsl(171, 56%, 46%), hsl(171, 56%, 26%));
gradient dark
background: linear-gradient(to right, hsl(171, 56%, 26%), hsl(171, 56%, 6%))
hex
background-color: #1D675C;
tailwind
bg-[hsl(171,56%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 56%, 26%, 0.4);
css variable
--color-primary: hsl(171, 56%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 56%, 26%)?
HEX: #1D675C | RGB: rgb(29, 103, 92) | CMYK: 72%, 0%, 11%, 60% | HSV: 171°, 72%, 40%. Copy any format from the conversion table above.
What colors go well with #1D675C?
The complementary color is HSL(351, 56%, 26%). 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, 56%, 26%) in CSS?
As HSL: color: hsl(171, 56%, 26%); — As HEX: color: #1D675C; — As RGB: color: rgb(29, 103, 92); — Tailwind CSS: bg-[hsl(171,56%,26%)] — CSS variable: --color-primary: hsl(171, 56%, 26%);