HSL(170, 70%, 27%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,70%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 70%, 27%) | color: hsl(170, 70%, 27%) | |
| HEX | #157565 | color: #157565 | |
| RGB | rgb(21, 117, 101) | color: rgb(21, 117, 101) | |
| CMYK | cmyk(82%, 0%, 14%, 54%) | — | |
| HSV | hsv(170, 82%, 46%) | — | |
| HWB | hwb(170 8% 54%) | color: hwb(170 8% 54%) | |
| OKLCH | oklch(0.506 0.0874 178.11) | color: oklch(0.506 0.0874 178.11) | |
| Lab | lab(43.97 -30.46 1.27) | color: lab(43.97 -30.46 1.27) | |
| LCH | lch(43.97 30.49 177.61) | color: lch(43.97 30.49 177.61) |
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)
#3F3F69 — rgb(63, 63, 105)
Deuteranopia (Green-blind)
#39326A — rgb(57, 50, 106)
Tritanopia (Blue-blind)
#1A6C6D — rgb(26, 108, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 70%, 27%);
text
color: hsl(170, 70%, 27%);
border
border: 2px solid hsl(170, 70%, 27%);
gradient light
background: linear-gradient(to right, hsl(170, 70%, 47%), hsl(170, 70%, 27%));
gradient dark
background: linear-gradient(to right, hsl(170, 70%, 27%), hsl(170, 70%, 7%))
hex
background-color: #157565;
tailwind
bg-[hsl(170,70%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 70%, 27%, 0.4);
css variable
--color-primary: hsl(170, 70%, 27%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 70%, 27%)?
HEX: #157565 | RGB: rgb(21, 117, 101) | CMYK: 82%, 0%, 14%, 54% | HSV: 170°, 82%, 46%. Copy any format from the conversion table above.
What colors go well with #157565?
The complementary color is HSL(350, 70%, 27%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 70%, 27%) in CSS?
As HSL: color: hsl(170, 70%, 27%); — As HEX: color: #157565; — As RGB: color: rgb(21, 117, 101); — Tailwind CSS: bg-[hsl(170,70%,27%)] — CSS variable: --color-primary: hsl(170, 70%, 27%);