HSL(170, 10%, 51%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(170,10%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(170, 10%, 51%) | color: hsl(170, 10%, 51%) | |
| HEX | #768F8A | color: #768F8A | |
| RGB | rgb(118, 143, 138) | color: rgb(118, 143, 138) | |
| CMYK | cmyk(17%, 0%, 3%, 44%) | — | |
| HSV | hsv(168, 17%, 56%) | — | |
| HWB | hwb(168 46% 44%) | color: hwb(168 46% 44%) | |
| OKLCH | oklch(0.629 0.0294 181.85) | color: oklch(0.629 0.0294 181.85) | |
| Lab | lab(57.4 -9.93 -0.3) | color: lab(57.4 -9.93 -0.3) | |
| LCH | lch(57.4 9.93 181.73) | color: lch(57.4 9.93 181.73) |
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)
#81818B — rgb(129, 129, 139)
Deuteranopia (Green-blind)
#7F7E8C — rgb(127, 126, 140)
Tritanopia (Blue-blind)
#778C8C — rgb(119, 140, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(170, 10%, 51%);
text
color: hsl(170, 10%, 51%);
border
border: 2px solid hsl(170, 10%, 51%);
gradient light
background: linear-gradient(to right, hsl(170, 10%, 71%), hsl(170, 10%, 51%));
gradient dark
background: linear-gradient(to right, hsl(170, 10%, 51%), hsl(170, 10%, 31%))
hex
background-color: #768F8A;
tailwind
bg-[hsl(170,10%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(170, 10%, 51%, 0.4);
css variable
--color-primary: hsl(170, 10%, 51%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(170, 10%, 51%)?
HEX: #768F8A | RGB: rgb(118, 143, 138) | CMYK: 17%, 0%, 3%, 44% | HSV: 168°, 17%, 56%. Copy any format from the conversion table above.
What colors go well with #768F8A?
The complementary color is HSL(350, 10%, 51%). For a triadic harmony, use hues 170°, 290°, and 50°. For analogous combinations, try hues 140° and 200°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(170, 10%, 51%) in CSS?
As HSL: color: hsl(170, 10%, 51%); — As HEX: color: #768F8A; — As RGB: color: rgb(118, 143, 138); — Tailwind CSS: bg-[hsl(170,10%,51%)] — CSS variable: --color-primary: hsl(170, 10%, 51%);