HSL(173, 68%, 51%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(173,68%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(173, 68%, 51%) | color: hsl(173, 68%, 51%) | |
| HEX | #2DD7C3 | color: #2DD7C3 | |
| RGB | rgb(45, 215, 195) | color: rgb(45, 215, 195) | |
| CMYK | cmyk(79%, 0%, 9%, 16%) | — | |
| HSV | hsv(173, 79%, 84%) | — | |
| HWB | hwb(173 18% 16%) | color: hwb(173 18% 16%) | |
| OKLCH | oklch(0.7931 0.1336 182.67) | color: oklch(0.7931 0.1336 182.67) | |
| Lab | lab(77.93 -45.71 -2.03) | color: lab(77.93 -45.71 -2.03) | |
| LCH | lch(77.93 45.76 182.54) | color: lch(77.93 45.76 182.54) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7778C8 — rgb(119, 120, 200)
Deuteranopia (Green-blind)
#6D60C9 — rgb(109, 96, 201)
Tritanopia (Blue-blind)
#36CCCD — rgb(54, 204, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(173, 68%, 51%);
text
color: hsl(173, 68%, 51%);
border
border: 2px solid hsl(173, 68%, 51%);
gradient light
background: linear-gradient(to right, hsl(173, 68%, 71%), hsl(173, 68%, 51%));
gradient dark
background: linear-gradient(to right, hsl(173, 68%, 51%), hsl(173, 68%, 31%))
hex
background-color: #2DD7C3;
tailwind
bg-[hsl(173,68%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(173, 68%, 51%, 0.4);
css variable
--color-primary: hsl(173, 68%, 51%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(173, 68%, 51%)?
HEX: #2DD7C3 | RGB: rgb(45, 215, 195) | CMYK: 79%, 0%, 9%, 16% | HSV: 173°, 79%, 84%. Copy any format from the conversion table above.
What colors go well with #2DD7C3?
The complementary color is HSL(353, 68%, 51%). For a triadic harmony, use hues 173°, 293°, and 53°. For analogous combinations, try hues 143° and 203°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(173, 68%, 51%) in CSS?
As HSL: color: hsl(173, 68%, 51%); — As HEX: color: #2DD7C3; — As RGB: color: rgb(45, 215, 195); — Tailwind CSS: bg-[hsl(173,68%,51%)] — CSS variable: --color-primary: hsl(173, 68%, 51%);