HSL(192, 30%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(192,30%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(192, 30%, 42%) | color: hsl(192, 30%, 42%) | |
| HEX | #4B7E8B | color: #4B7E8B | |
| RGB | rgb(75, 126, 139) | color: rgb(75, 126, 139) | |
| CMYK | cmyk(46%, 9%, 0%, 45%) | — | |
| HSV | hsv(192, 46%, 55%) | — | |
| HWB | hwb(192 30% 45%) | color: hwb(192 30% 45%) | |
| OKLCH | oklch(0.5623 0.0582 215.88) | color: oklch(0.5623 0.0582 215.88) | |
| Lab | lab(49.83 -13.44 -12.39) | color: lab(49.83 -13.44 -12.39) | |
| LCH | lch(49.83 18.28 222.67) | color: lch(49.83 18.28 222.67) |
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)
#616288 — rgb(97, 98, 136)
Deuteranopia (Green-blind)
#5E5A87 — rgb(94, 90, 135)
Tritanopia (Blue-blind)
#4E8585 — rgb(78, 133, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(192, 30%, 42%);
text
color: hsl(192, 30%, 42%);
border
border: 2px solid hsl(192, 30%, 42%);
gradient light
background: linear-gradient(to right, hsl(192, 30%, 62%), hsl(192, 30%, 42%));
gradient dark
background: linear-gradient(to right, hsl(192, 30%, 42%), hsl(192, 30%, 22%))
hex
background-color: #4B7E8B;
tailwind
bg-[hsl(192,30%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(192, 30%, 42%, 0.4);
css variable
--color-primary: hsl(192, 30%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(192, 30%, 42%)?
HEX: #4B7E8B | RGB: rgb(75, 126, 139) | CMYK: 46%, 9%, 0%, 45% | HSV: 192°, 46%, 55%. Copy any format from the conversion table above.
What colors go well with #4B7E8B?
The complementary color is HSL(12, 30%, 42%). 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, 30%, 42%) in CSS?
As HSL: color: hsl(192, 30%, 42%); — As HEX: color: #4B7E8B; — As RGB: color: rgb(75, 126, 139); — Tailwind CSS: bg-[hsl(192,30%,42%)] — CSS variable: --color-primary: hsl(192, 30%, 42%);