HSL(171, 26%, 43%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,26%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 26%, 43%) | color: hsl(171, 26%, 43%) | |
| HEX | #518A82 | color: #518A82 | |
| RGB | rgb(81, 138, 130) | color: rgb(81, 138, 130) | |
| CMYK | cmyk(41%, 0%, 6%, 46%) | — | |
| HSV | hsv(172, 41%, 54%) | — | |
| HWB | hwb(172 32% 46%) | color: hwb(172 32% 46%) | |
| OKLCH | oklch(0.5917 0.0616 184.31) | color: oklch(0.5917 0.0616 184.31) | |
| Lab | lab(53.53 -20.73 -1.6) | color: lab(53.53 -20.73 -1.6) | |
| LCH | lch(53.53 20.79 184.41) | color: lch(53.53 20.79 184.41) |
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)
#6A6A84 — rgb(106, 106, 132)
Deuteranopia (Green-blind)
#666284 — rgb(102, 98, 132)
Tritanopia (Blue-blind)
#548586 — rgb(84, 133, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 26%, 43%);
text
color: hsl(171, 26%, 43%);
border
border: 2px solid hsl(171, 26%, 43%);
gradient light
background: linear-gradient(to right, hsl(171, 26%, 63%), hsl(171, 26%, 43%));
gradient dark
background: linear-gradient(to right, hsl(171, 26%, 43%), hsl(171, 26%, 23%))
hex
background-color: #518A82;
tailwind
bg-[hsl(171,26%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 26%, 43%, 0.4);
css variable
--color-primary: hsl(171, 26%, 43%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 26%, 43%)?
HEX: #518A82 | RGB: rgb(81, 138, 130) | CMYK: 41%, 0%, 6%, 46% | HSV: 172°, 41%, 54%. Copy any format from the conversion table above.
What colors go well with #518A82?
The complementary color is HSL(351, 26%, 43%). 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, 26%, 43%) in CSS?
As HSL: color: hsl(171, 26%, 43%); — As HEX: color: #518A82; — As RGB: color: rgb(81, 138, 130); — Tailwind CSS: bg-[hsl(171,26%,43%)] — CSS variable: --color-primary: hsl(171, 26%, 43%);