HSL(162, 21%, 49%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,21%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 21%, 49%) | color: hsl(162, 21%, 49%) | |
| HEX | #639787 | color: #639787 | |
| RGB | rgb(99, 151, 135) | color: rgb(99, 151, 135) | |
| CMYK | cmyk(34%, 0%, 11%, 41%) | — | |
| HSV | hsv(162, 34%, 59%) | — | |
| HWB | hwb(162 39% 41%) | color: hwb(162 39% 41%) | |
| OKLCH | oklch(0.6349 0.0608 172.95) | color: oklch(0.6349 0.0608 172.95) | |
| Lab | lab(58.54 -21.03 2.94) | color: lab(58.54 -21.03 2.94) | |
| LCH | lch(58.54 21.23 172.04) | color: lch(58.54 21.23 172.04) |
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)
#7A7A8B — rgb(122, 122, 139)
Deuteranopia (Green-blind)
#77738C — rgb(119, 115, 140)
Tritanopia (Blue-blind)
#668E8F — rgb(102, 142, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 21%, 49%);
text
color: hsl(162, 21%, 49%);
border
border: 2px solid hsl(162, 21%, 49%);
gradient light
background: linear-gradient(to right, hsl(162, 21%, 69%), hsl(162, 21%, 49%));
gradient dark
background: linear-gradient(to right, hsl(162, 21%, 49%), hsl(162, 21%, 29%))
hex
background-color: #639787;
tailwind
bg-[hsl(162,21%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 21%, 49%, 0.4);
css variable
--color-primary: hsl(162, 21%, 49%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 21%, 49%)?
HEX: #639787 | RGB: rgb(99, 151, 135) | CMYK: 34%, 0%, 11%, 41% | HSV: 162°, 34%, 59%. Copy any format from the conversion table above.
What colors go well with #639787?
The complementary color is HSL(342, 21%, 49%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 21%, 49%) in CSS?
As HSL: color: hsl(162, 21%, 49%); — As HEX: color: #639787; — As RGB: color: rgb(99, 151, 135); — Tailwind CSS: bg-[hsl(162,21%,49%)] — CSS variable: --color-primary: hsl(162, 21%, 49%);