HSL(175, 45%, 21%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(175,45%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(175, 45%, 21%) | color: hsl(175, 45%, 21%) | |
| HEX | #1D4E4A | color: #1D4E4A | |
| RGB | rgb(29, 78, 74) | color: rgb(29, 78, 74) | |
| CMYK | cmyk(63%, 0%, 5%, 69%) | — | |
| HSV | hsv(175, 63%, 31%) | — | |
| HWB | hwb(175 11% 69%) | color: hwb(175 11% 69%) | |
| OKLCH | oklch(0.3894 0.0529 187.9) | color: oklch(0.3894 0.0529 187.9) | |
| Lab | lab(29.92 -17.5 -2.59) | color: lab(29.92 -17.5 -2.59) | |
| LCH | lch(29.92 17.69 188.42) | color: lch(29.92 17.69 188.42) |
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)
#32334B — rgb(50, 51, 75)
Deuteranopia (Green-blind)
#2F2C4B — rgb(47, 44, 75)
Tritanopia (Blue-blind)
#1F4C4C — rgb(31, 76, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(175, 45%, 21%);
text
color: hsl(175, 45%, 21%);
border
border: 2px solid hsl(175, 45%, 21%);
gradient light
background: linear-gradient(to right, hsl(175, 45%, 41%), hsl(175, 45%, 21%));
gradient dark
background: linear-gradient(to right, hsl(175, 45%, 21%), hsl(175, 45%, 1%))
hex
background-color: #1D4E4A;
tailwind
bg-[hsl(175,45%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(175, 45%, 21%, 0.4);
css variable
--color-primary: hsl(175, 45%, 21%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(175, 45%, 21%)?
HEX: #1D4E4A | RGB: rgb(29, 78, 74) | CMYK: 63%, 0%, 5%, 69% | HSV: 175°, 63%, 31%. Copy any format from the conversion table above.
What colors go well with #1D4E4A?
The complementary color is HSL(355, 45%, 21%). 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, 45%, 21%) in CSS?
As HSL: color: hsl(175, 45%, 21%); — As HEX: color: #1D4E4A; — As RGB: color: rgb(29, 78, 74); — Tailwind CSS: bg-[hsl(175,45%,21%)] — CSS variable: --color-primary: hsl(175, 45%, 21%);