HSL(186, 20%, 41%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(186,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(186, 20%, 41%) | color: hsl(186, 20%, 41%) | |
| HEX | #54797D | color: #54797D | |
| RGB | rgb(84, 121, 125) | color: rgb(84, 121, 125) | |
| CMYK | cmyk(33%, 3%, 0%, 51%) | — | |
| HSV | hsv(186, 33%, 49%) | — | |
| HWB | hwb(186 33% 51%) | color: hwb(186 33% 51%) | |
| OKLCH | oklch(0.5499 0.0421 204.46) | color: oklch(0.5499 0.0421 204.46) | |
| Lab | lab(48.31 -11.92 -6.37) | color: lab(48.31 -11.92 -6.37) | |
| LCH | lch(48.31 13.52 208.12) | color: lch(48.31 13.52 208.12) |
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)
#64647C — rgb(100, 100, 124)
Deuteranopia (Green-blind)
#625F7C — rgb(98, 95, 124)
Tritanopia (Blue-blind)
#567B7B — rgb(86, 123, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(186, 20%, 41%);
text
color: hsl(186, 20%, 41%);
border
border: 2px solid hsl(186, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(186, 20%, 61%), hsl(186, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(186, 20%, 41%), hsl(186, 20%, 21%))
hex
background-color: #54797D;
tailwind
bg-[hsl(186,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(186, 20%, 41%, 0.4);
css variable
--color-primary: hsl(186, 20%, 41%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(186, 20%, 41%)?
HEX: #54797D | RGB: rgb(84, 121, 125) | CMYK: 33%, 3%, 0%, 51% | HSV: 186°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #54797D?
The complementary color is HSL(6, 20%, 41%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(186, 20%, 41%) in CSS?
As HSL: color: hsl(186, 20%, 41%); — As HEX: color: #54797D; — As RGB: color: rgb(84, 121, 125); — Tailwind CSS: bg-[hsl(186,20%,41%)] — CSS variable: --color-primary: hsl(186, 20%, 41%);