HSL(192, 20%, 50%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(192,20%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(192, 20%, 50%) | color: hsl(192, 20%, 50%) | |
| HEX | #668F99 | color: #668F99 | |
| RGB | rgb(102, 143, 153) | color: rgb(102, 143, 153) | |
| CMYK | cmyk(33%, 7%, 0%, 40%) | — | |
| HSV | hsv(192, 33%, 60%) | — | |
| HWB | hwb(192 40% 40%) | color: hwb(192 40% 40%) | |
| OKLCH | oklch(0.6236 0.0474 214.51) | color: oklch(0.6236 0.0474 214.51) | |
| Lab | lab(56.85 -11.49 -9.82) | color: lab(56.85 -11.49 -9.82) | |
| LCH | lch(56.85 15.11 220.52) | color: lch(56.85 15.11 220.52) |
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)
#787897 — rgb(120, 120, 151)
Deuteranopia (Green-blind)
#757296 — rgb(117, 114, 150)
Tritanopia (Blue-blind)
#689594 — rgb(104, 149, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(192, 20%, 50%);
text
color: hsl(192, 20%, 50%);
border
border: 2px solid hsl(192, 20%, 50%);
gradient light
background: linear-gradient(to right, hsl(192, 20%, 70%), hsl(192, 20%, 50%));
gradient dark
background: linear-gradient(to right, hsl(192, 20%, 50%), hsl(192, 20%, 30%))
hex
background-color: #668F99;
tailwind
bg-[hsl(192,20%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(192, 20%, 50%, 0.4);
css variable
--color-primary: hsl(192, 20%, 50%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(192, 20%, 50%)?
HEX: #668F99 | RGB: rgb(102, 143, 153) | CMYK: 33%, 7%, 0%, 40% | HSV: 192°, 33%, 60%. Copy any format from the conversion table above.
What colors go well with #668F99?
The complementary color is HSL(12, 20%, 50%). For a triadic harmony, use hues 192°, 312°, and 72°. For analogous combinations, try hues 162° and 222°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(192, 20%, 50%) in CSS?
As HSL: color: hsl(192, 20%, 50%); — As HEX: color: #668F99; — As RGB: color: rgb(102, 143, 153); — Tailwind CSS: bg-[hsl(192,20%,50%)] — CSS variable: --color-primary: hsl(192, 20%, 50%);