HSL(177, 23%, 40%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(177,23%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(177, 23%, 40%) | color: hsl(177, 23%, 40%) | |
| HEX | #4F7D7B | color: #4F7D7B | |
| RGB | rgb(79, 125, 123) | color: rgb(79, 125, 123) | |
| CMYK | cmyk(37%, 0%, 2%, 51%) | — | |
| HSV | hsv(177, 37%, 49%) | — | |
| HWB | hwb(177 31% 51%) | color: hwb(177 31% 51%) | |
| OKLCH | oklch(0.556 0.0505 192.3) | color: oklch(0.556 0.0505 192.3) | |
| Lab | lab(49.2 -16.16 -3.9) | color: lab(49.2 -16.16 -3.9) | |
| LCH | lch(49.2 16.62 193.57) | color: lch(49.2 16.62 193.57) |
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)
#63637B — rgb(99, 99, 123)
Deuteranopia (Green-blind)
#605D7C — rgb(96, 93, 124)
Tritanopia (Blue-blind)
#517C7C — rgb(81, 124, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(177, 23%, 40%);
text
color: hsl(177, 23%, 40%);
border
border: 2px solid hsl(177, 23%, 40%);
gradient light
background: linear-gradient(to right, hsl(177, 23%, 60%), hsl(177, 23%, 40%));
gradient dark
background: linear-gradient(to right, hsl(177, 23%, 40%), hsl(177, 23%, 20%))
hex
background-color: #4F7D7B;
tailwind
bg-[hsl(177,23%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(177, 23%, 40%, 0.4);
css variable
--color-primary: hsl(177, 23%, 40%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(177, 23%, 40%)?
HEX: #4F7D7B | RGB: rgb(79, 125, 123) | CMYK: 37%, 0%, 2%, 51% | HSV: 177°, 37%, 49%. Copy any format from the conversion table above.
What colors go well with #4F7D7B?
The complementary color is HSL(357, 23%, 40%). For a triadic harmony, use hues 177°, 297°, and 57°. For analogous combinations, try hues 147° and 207°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(177, 23%, 40%) in CSS?
As HSL: color: hsl(177, 23%, 40%); — As HEX: color: #4F7D7B; — As RGB: color: rgb(79, 125, 123); — Tailwind CSS: bg-[hsl(177,23%,40%)] — CSS variable: --color-primary: hsl(177, 23%, 40%);