HSL(175, 20%, 25%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(175,20%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 20%, 25%) | color: hsl(175, 20%, 25%) | |
| HEX | #334D4A | color: #334D4A | |
| RGB | rgb(51, 77, 74) | color: rgb(51, 77, 74) | |
| CMYK | cmyk(34%, 0%, 4%, 70%) | — | |
| HSV | hsv(173, 34%, 30%) | — | |
| HWB | hwb(173 20% 70%) | color: hwb(173 20% 70%) | |
| OKLCH | oklch(0.3982 0.032 186.96) | color: oklch(0.3982 0.032 186.96) | |
| Lab | lab(30.65 -10.62 -1.39) | color: lab(30.65 -10.62 -1.39) | |
| LCH | lch(30.65 10.71 187.46) | color: lch(30.65 10.71 187.46) |
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)
#3E3E4B — rgb(62, 62, 75)
Deuteranopia (Green-blind)
#3D3B4B — rgb(61, 59, 75)
Tritanopia (Blue-blind)
#344B4B — rgb(52, 75, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 20%, 25%);
text
color: hsl(175, 20%, 25%);
border
border: 2px solid hsl(175, 20%, 25%);
gradient light
background: linear-gradient(to right, hsl(175, 20%, 45%), hsl(175, 20%, 25%));
gradient dark
background: linear-gradient(to right, hsl(175, 20%, 25%), hsl(175, 20%, 5%))
hex
background-color: #334D4A;
tailwind
bg-[hsl(175,20%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 20%, 25%, 0.4);
css variable
--color-primary: hsl(175, 20%, 25%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(175, 20%, 25%)?
HEX: #334D4A | RGB: rgb(51, 77, 74) | CMYK: 34%, 0%, 4%, 70% | HSV: 173°, 34%, 30%. Copy any format from the conversion table above.
What colors go well with #334D4A?
The complementary color is HSL(355, 20%, 25%). For a triadic harmony, use hues 175°, 295°, and 55°. For analogous combinations, try hues 145° and 205°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(175, 20%, 25%) in CSS?
As HSL: color: hsl(175, 20%, 25%); — As HEX: color: #334D4A; — As RGB: color: rgb(51, 77, 74); — Tailwind CSS: bg-[hsl(175,20%,25%)] — CSS variable: --color-primary: hsl(175, 20%, 25%);