HSL(192, 50%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(192,50%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(192, 50%, 38%) | color: hsl(192, 50%, 38%) | |
| HEX | #307E91 | color: #307E91 | |
| RGB | rgb(48, 126, 145) | color: rgb(48, 126, 145) | |
| CMYK | cmyk(67%, 13%, 0%, 43%) | — | |
| HSV | hsv(192, 67%, 57%) | — | |
| HWB | hwb(192 19% 43%) | color: hwb(192 19% 43%) | |
| OKLCH | oklch(0.5534 0.0802 216.82) | color: oklch(0.5534 0.0802 216.82) | |
| Lab | lab(49 -17.44 -17.28) | color: lab(49 -17.44 -17.28) | |
| LCH | lch(49 24.55 224.74) | color: lch(49 24.55 224.74) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#52528C — rgb(82, 82, 140)
Deuteranopia (Green-blind)
#4D478B — rgb(77, 71, 139)
Tritanopia (Blue-blind)
#348988 — rgb(52, 137, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(192, 50%, 38%);
text
color: hsl(192, 50%, 38%);
border
border: 2px solid hsl(192, 50%, 38%);
gradient light
background: linear-gradient(to right, hsl(192, 50%, 58%), hsl(192, 50%, 38%));
gradient dark
background: linear-gradient(to right, hsl(192, 50%, 38%), hsl(192, 50%, 18%))
hex
background-color: #307E91;
tailwind
bg-[hsl(192,50%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(192, 50%, 38%, 0.4);
css variable
--color-primary: hsl(192, 50%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(192, 50%, 38%)?
HEX: #307E91 | RGB: rgb(48, 126, 145) | CMYK: 67%, 13%, 0%, 43% | HSV: 192°, 67%, 57%. Copy any format from the conversion table above.
What colors go well with #307E91?
The complementary color is HSL(12, 50%, 38%). 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, 50%, 38%) in CSS?
As HSL: color: hsl(192, 50%, 38%); — As HEX: color: #307E91; — As RGB: color: rgb(48, 126, 145); — Tailwind CSS: bg-[hsl(192,50%,38%)] — CSS variable: --color-primary: hsl(192, 50%, 38%);