HSL(171, 78%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,78%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 78%, 20%) | color: hsl(171, 78%, 20%) | |
| HEX | #0B5B4F | color: #0B5B4F | |
| RGB | rgb(11, 91, 79) | color: rgb(11, 91, 79) | |
| CMYK | cmyk(88%, 0%, 13%, 64%) | — | |
| HSV | hsv(171, 88%, 36%) | — | |
| HWB | hwb(171 4% 64%) | color: hwb(171 4% 64%) | |
| OKLCH | oklch(0.4237 0.0737 179.27) | color: oklch(0.4237 0.0737 179.27) | |
| Lab | lab(34.23 -25.59 0.51) | color: lab(34.23 -25.59 0.51) | |
| LCH | lch(34.23 25.6 178.86) | color: lch(34.23 25.6 178.86) |
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)
#2E2E52 — rgb(46, 46, 82)
Deuteranopia (Green-blind)
#292353 — rgb(41, 35, 83)
Tritanopia (Blue-blind)
#0F5455 — rgb(15, 84, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 78%, 20%);
text
color: hsl(171, 78%, 20%);
border
border: 2px solid hsl(171, 78%, 20%);
gradient light
background: linear-gradient(to right, hsl(171, 78%, 40%), hsl(171, 78%, 20%));
gradient dark
background: linear-gradient(to right, hsl(171, 78%, 20%), hsl(171, 78%, 0%))
hex
background-color: #0B5B4F;
tailwind
bg-[hsl(171,78%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 78%, 20%, 0.4);
css variable
--color-primary: hsl(171, 78%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 78%, 20%)?
HEX: #0B5B4F | RGB: rgb(11, 91, 79) | CMYK: 88%, 0%, 13%, 64% | HSV: 171°, 88%, 36%. Copy any format from the conversion table above.
What colors go well with #0B5B4F?
The complementary color is HSL(351, 78%, 20%). 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, 78%, 20%) in CSS?
As HSL: color: hsl(171, 78%, 20%); — As HEX: color: #0B5B4F; — As RGB: color: rgb(11, 91, 79); — Tailwind CSS: bg-[hsl(171,78%,20%)] — CSS variable: --color-primary: hsl(171, 78%, 20%);