HSL(192, 74%, 50%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(192,74%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(192, 74%, 50%) | color: hsl(192, 74%, 50%) | |
| HEX | #21B8DE | color: #21B8DE | |
| RGB | rgb(33, 184, 222) | color: rgb(33, 184, 222) | |
| CMYK | cmyk(85%, 17%, 0%, 13%) | — | |
| HSV | hsv(192, 85%, 87%) | — | |
| HWB | hwb(192 13% 13%) | color: hwb(192 13% 13%) | |
| OKLCH | oklch(0.7262 0.1271 220.69) | color: oklch(0.7262 0.1271 220.69) | |
| Lab | lab(69.38 -24.04 -29.55) | color: lab(69.38 -24.04 -29.55) | |
| LCH | lch(69.38 38.09 230.87) | color: lch(69.38 38.09 230.87) |
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)
#6264D5 — rgb(98, 100, 213)
Deuteranopia (Green-blind)
#5A4ED3 — rgb(90, 78, 211)
Tritanopia (Blue-blind)
#29CECC — rgb(41, 206, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(192, 74%, 50%);
text
color: hsl(192, 74%, 50%);
border
border: 2px solid hsl(192, 74%, 50%);
gradient light
background: linear-gradient(to right, hsl(192, 74%, 70%), hsl(192, 74%, 50%));
gradient dark
background: linear-gradient(to right, hsl(192, 74%, 50%), hsl(192, 74%, 30%))
hex
background-color: #21B8DE;
tailwind
bg-[hsl(192,74%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(192, 74%, 50%, 0.4);
css variable
--color-primary: hsl(192, 74%, 50%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(192, 74%, 50%)?
HEX: #21B8DE | RGB: rgb(33, 184, 222) | CMYK: 85%, 17%, 0%, 13% | HSV: 192°, 85%, 87%. Copy any format from the conversion table above.
What colors go well with #21B8DE?
The complementary color is HSL(12, 74%, 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, 74%, 50%) in CSS?
As HSL: color: hsl(192, 74%, 50%); — As HEX: color: #21B8DE; — As RGB: color: rgb(33, 184, 222); — Tailwind CSS: bg-[hsl(192,74%,50%)] — CSS variable: --color-primary: hsl(192, 74%, 50%);