HSL(151, 19%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(151,19%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 19%, 42%) | color: hsl(151, 19%, 42%) | |
| HEX | #577F6C | color: #577F6C | |
| RGB | rgb(87, 127, 108) | color: rgb(87, 127, 108) | |
| CMYK | cmyk(31%, 0%, 15%, 50%) | — | |
| HSV | hsv(152, 31%, 50%) | — | |
| HWB | hwb(152 35% 50%) | color: hwb(152 35% 50%) | |
| OKLCH | oklch(0.561 0.0537 163.53) | color: oklch(0.561 0.0537 163.53) | |
| Lab | lab(49.84 -18.33 5.9) | color: lab(49.84 -18.33 5.9) | |
| LCH | lch(49.84 19.26 162.16) | color: lch(49.84 19.26 162.16) |
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)
#686971 — rgb(104, 105, 113)
Deuteranopia (Green-blind)
#666372 — rgb(102, 99, 114)
Tritanopia (Blue-blind)
#597475 — rgb(89, 116, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 19%, 42%);
text
color: hsl(151, 19%, 42%);
border
border: 2px solid hsl(151, 19%, 42%);
gradient light
background: linear-gradient(to right, hsl(151, 19%, 62%), hsl(151, 19%, 42%));
gradient dark
background: linear-gradient(to right, hsl(151, 19%, 42%), hsl(151, 19%, 22%))
hex
background-color: #577F6C;
tailwind
bg-[hsl(151,19%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 19%, 42%, 0.4);
css variable
--color-primary: hsl(151, 19%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 19%, 42%)?
HEX: #577F6C | RGB: rgb(87, 127, 108) | CMYK: 31%, 0%, 15%, 50% | HSV: 152°, 31%, 50%. Copy any format from the conversion table above.
What colors go well with #577F6C?
The complementary color is HSL(331, 19%, 42%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 19%, 42%) in CSS?
As HSL: color: hsl(151, 19%, 42%); — As HEX: color: #577F6C; — As RGB: color: rgb(87, 127, 108); — Tailwind CSS: bg-[hsl(151,19%,42%)] — CSS variable: --color-primary: hsl(151, 19%, 42%);