HSL(187, 16%, 56%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(187,16%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 16%, 56%) | color: hsl(187, 16%, 56%) | |
| HEX | #7D9DA1 | color: #7D9DA1 | |
| RGB | rgb(125, 157, 161) | color: rgb(125, 157, 161) | |
| CMYK | cmyk(22%, 2%, 0%, 37%) | — | |
| HSV | hsv(187, 22%, 63%) | — | |
| HWB | hwb(187 49% 37%) | color: hwb(187 49% 37%) | |
| OKLCH | oklch(0.6733 0.0359 205.73) | color: oklch(0.6733 0.0359 205.73) | |
| Lab | lab(62.55 -10.1 -5.74) | color: lab(62.55 -10.1 -5.74) | |
| LCH | lch(62.55 11.62 209.61) | color: lch(62.55 11.62 209.61) |
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)
#8B8BA0 — rgb(139, 139, 160)
Deuteranopia (Green-blind)
#8987A0 — rgb(137, 135, 160)
Tritanopia (Blue-blind)
#7F9F9F — rgb(127, 159, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 16%, 56%);
text
color: hsl(187, 16%, 56%);
border
border: 2px solid hsl(187, 16%, 56%);
gradient light
background: linear-gradient(to right, hsl(187, 16%, 76%), hsl(187, 16%, 56%));
gradient dark
background: linear-gradient(to right, hsl(187, 16%, 56%), hsl(187, 16%, 36%))
hex
background-color: #7D9DA1;
tailwind
bg-[hsl(187,16%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 16%, 56%, 0.4);
css variable
--color-primary: hsl(187, 16%, 56%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 16%, 56%)?
HEX: #7D9DA1 | RGB: rgb(125, 157, 161) | CMYK: 22%, 2%, 0%, 37% | HSV: 187°, 22%, 63%. Copy any format from the conversion table above.
What colors go well with #7D9DA1?
The complementary color is HSL(7, 16%, 56%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(187, 16%, 56%) in CSS?
As HSL: color: hsl(187, 16%, 56%); — As HEX: color: #7D9DA1; — As RGB: color: rgb(125, 157, 161); — Tailwind CSS: bg-[hsl(187,16%,56%)] — CSS variable: --color-primary: hsl(187, 16%, 56%);