HSL(170, 23%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(170,23%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 23%, 28%) | color: hsl(170, 23%, 28%) | |
| HEX | #375852 | color: #375852 | |
| RGB | rgb(55, 88, 82) | color: rgb(55, 88, 82) | |
| CMYK | cmyk(38%, 0%, 7%, 65%) | — | |
| HSV | hsv(169, 38%, 35%) | — | |
| HWB | hwb(169 22% 65%) | color: hwb(169 22% 65%) | |
| OKLCH | oklch(0.4329 0.04 181.64) | color: oklch(0.4329 0.04 181.64) | |
| Lab | lab(34.8 -13.59 -0.35) | color: lab(34.8 -13.59 -0.35) | |
| LCH | lch(34.8 13.59 181.48) | color: lch(34.8 13.59 181.48) |
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)
#454653 — rgb(69, 70, 83)
Deuteranopia (Green-blind)
#434154 — rgb(67, 65, 84)
Tritanopia (Blue-blind)
#395555 — rgb(57, 85, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 23%, 28%);
text
color: hsl(170, 23%, 28%);
border
border: 2px solid hsl(170, 23%, 28%);
gradient light
background: linear-gradient(to right, hsl(170, 23%, 48%), hsl(170, 23%, 28%));
gradient dark
background: linear-gradient(to right, hsl(170, 23%, 28%), hsl(170, 23%, 8%))
hex
background-color: #375852;
tailwind
bg-[hsl(170,23%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 23%, 28%, 0.4);
css variable
--color-primary: hsl(170, 23%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 23%, 28%)?
HEX: #375852 | RGB: rgb(55, 88, 82) | CMYK: 38%, 0%, 7%, 65% | HSV: 169°, 38%, 35%. Copy any format from the conversion table above.
What colors go well with #375852?
The complementary color is HSL(350, 23%, 28%). 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, 23%, 28%) in CSS?
As HSL: color: hsl(170, 23%, 28%); — As HEX: color: #375852; — As RGB: color: rgb(55, 88, 82); — Tailwind CSS: bg-[hsl(170,23%,28%)] — CSS variable: --color-primary: hsl(170, 23%, 28%);