HSL(185, 36%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,36%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 36%, 22%) | color: hsl(185, 36%, 22%) | |
| HEX | #24494C | color: #24494C | |
| RGB | rgb(36, 73, 76) | color: rgb(36, 73, 76) | |
| CMYK | cmyk(53%, 4%, 0%, 70%) | — | |
| HSV | hsv(185, 53%, 30%) | — | |
| HWB | hwb(185 14% 70%) | color: hwb(185 14% 70%) | |
| OKLCH | oklch(0.3793 0.0427 202.39) | color: oklch(0.3793 0.0427 202.39) | |
| Lab | lab(28.54 -12.27 -5.9) | color: lab(28.54 -12.27 -5.9) | |
| LCH | lch(28.54 13.61 205.68) | color: lch(28.54 13.61 205.68) |
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)
#34344B — rgb(52, 52, 75)
Deuteranopia (Green-blind)
#322F4B — rgb(50, 47, 75)
Tritanopia (Blue-blind)
#264B4B — rgb(38, 75, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 36%, 22%);
text
color: hsl(185, 36%, 22%);
border
border: 2px solid hsl(185, 36%, 22%);
gradient light
background: linear-gradient(to right, hsl(185, 36%, 42%), hsl(185, 36%, 22%));
gradient dark
background: linear-gradient(to right, hsl(185, 36%, 22%), hsl(185, 36%, 2%))
hex
background-color: #24494C;
tailwind
bg-[hsl(185,36%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 36%, 22%, 0.4);
css variable
--color-primary: hsl(185, 36%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 36%, 22%)?
HEX: #24494C | RGB: rgb(36, 73, 76) | CMYK: 53%, 4%, 0%, 70% | HSV: 185°, 53%, 30%. Copy any format from the conversion table above.
What colors go well with #24494C?
The complementary color is HSL(5, 36%, 22%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(185, 36%, 22%) in CSS?
As HSL: color: hsl(185, 36%, 22%); — As HEX: color: #24494C; — As RGB: color: rgb(36, 73, 76); — Tailwind CSS: bg-[hsl(185,36%,22%)] — CSS variable: --color-primary: hsl(185, 36%, 22%);